From 1013dd069f28bfad18a930ddc4d7901759ff0691 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Wed, 1 Oct 2025 00:02:15 +0200 Subject: [PATCH] feat(skadi): finally a good base config. --- hosts/skadi/configuration.nix | 26 ++++++-------------------- hosts/skadi/home.nix | 5 ++--- modules/linux/home-manager/restic.nix | 2 +- 3 files changed, 9 insertions(+), 24 deletions(-) diff --git a/hosts/skadi/configuration.nix b/hosts/skadi/configuration.nix index 8c2147a..37540a9 100644 --- a/hosts/skadi/configuration.nix +++ b/hosts/skadi/configuration.nix @@ -28,7 +28,7 @@ }; # Get nicer hostname - networking.hostName = "ymir"; # Define your hostname. + networking.hostName = "skadi"; # Define your hostname. # Enable flakes nix.settings.experimental-features = ["nix-command" "flakes"]; @@ -122,28 +122,20 @@ binfmt = true; }; - # Enable light for image control - programs.light.enable = true; - # Enable polkit security.polkit.enable = true; - # programs.river = { - # enable = true; - # extraPackages = []; - # }; - # Define a user account. Don't forget to set a password with ‘passwd’. users.users.crony = { isNormalUser = true; description = "Crony"; - # hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; + hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat" "realtime"]; }; - # users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}"; + users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}"; - # users.mutableUsers = false; + users.mutableUsers = false; # Allow unfree packages nixpkgs.config.allowUnfree = true; @@ -176,19 +168,13 @@ }; # Enable my flake specific settings - # crony.nvidia.enable = true; crony.gaming.enable = true; - crony.nbfc.enable = true; - crony.wireguard.enable = true; crony.additional-hardware.enable = true; - crony.secrets.enable = true; - crony.ryzenadj.enable = false; - crony.auto-cpufreq.enable = true; crony.hyprland-nixos.enable = true; - crony.ollama.enable = false; - crony.sunshine.enable = true; crony.nfs-share.enable = true; crony.sddm.enable = true; + crony.wireguard.enable = true; + crony.secrets.enable = true; # List packages installed in system profile environment.systemPackages = with pkgs; [ diff --git a/hosts/skadi/home.nix b/hosts/skadi/home.nix index f4aad8e..0198159 100644 --- a/hosts/skadi/home.nix +++ b/hosts/skadi/home.nix @@ -33,16 +33,15 @@ crony.gaming.enable = true; crony.flatpak.enable = true; crony.wayland.enable = true; - crony.river.enable = false; crony.hyprland.enable = true; - crony.home-secrets.enable = true; - crony.restic.enable = true; crony.neovim.enable = true; crony.qutebrowser.enable = true; crony.mpv.enable = true; crony.browsers.enable = true; crony.desktop.enable = true; crony.shell-additions.enable = true; + crony.home-secrets.enable = true; + crony.restic.enable = true; # DO NOT CHANGE ALSO home.stateVersion = "24.11"; # Please read the comment before changing. diff --git a/modules/linux/home-manager/restic.nix b/modules/linux/home-manager/restic.nix index d9cf94b..b3cc9de 100644 --- a/modules/linux/home-manager/restic.nix +++ b/modules/linux/home-manager/restic.nix @@ -56,7 +56,7 @@ in { nas = { initialize = true; passwordFile = "/run/user/1000/agenix/restic-local-pass"; - repository = "/home/crony/docs/nfs"; + repository = "/home/crony/docs/nfs/backup"; paths = opts.paths; pruneOpts = opts.pruneOpts; checkOpts = opts.checkOpts;