Files
nix-config/hosts/Winter/common/global/base.nix
T
WinterEkisha 5a55a57786 feat(files+applications): xdg, applications
applications: refactored some to home-manager

files: configured home-manager xdg.config to use certain applications

xdg portal: override for portal to use gtk instead of gnome for file
picking
2026-11-21 12:38:51 -08:00

77 lines
1.7 KiB
Nix

# This is your system's configuration file.
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
let
repoDomain = "thearcticcircle.ddns.net";
repoPath = "git/WinterEkisha/nix-config";
repoBranch = "main";
in
{
nix = {
settings = {
# Enable flakes and new 'nix' command
experimental-features = "nix-command flakes";
# Opinionated: disable global registry
flake-registry = "";
};
# Opinionated: disable channels
channel.enable = false;
};
networking.networkmanager.enable = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
systemd.sleep.settings.Sleep = {
AllowSuspend = "no";
AllowHibernation = "no";
AllowHybridSleep = "no";
AllowSuspendThenHibernate = "no";
};
systemd.tmpfiles.rules = [
"d /home/shared 0777 root root -"
];
networking.firewall.enable = true;
time.timeZone = "America/Los_Angeles";
# --- File Manager ---
xdg.mime.enable = true;
services.tumbler.enable = true;
services.gvfs.enable = true;
services.udisks2.enable = true;
environment.systemPackages = with pkgs; [
# -- File manager --
nemo-with-extensions # Stand alone GUI
file-roller
imagemagick
poppler
ffmpeg
ffmpegthumbnailer
file
# --- General utils ---
networkmanagerapplet
lm_sensors
ripgrep
unzip
kdePackages.okular # PDF Viewer
kdePackages.qtsvg
qt6.qtwayland
];
fonts.packages = [ ] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
# --- General Utils ---
programs.vim.enable = true;
programs.git.enable = true;
}