feat(skadi): finally a good base config.

This commit is contained in:
CronyAkatsuki 2025-10-01 00:02:15 +02:00
parent fbadfbd630
commit 1013dd069f
3 changed files with 9 additions and 24 deletions

View file

@ -28,7 +28,7 @@
}; };
# Get nicer hostname # Get nicer hostname
networking.hostName = "ymir"; # Define your hostname. networking.hostName = "skadi"; # Define your hostname.
# Enable flakes # Enable flakes
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
@ -122,28 +122,20 @@
binfmt = true; binfmt = true;
}; };
# Enable light for image control
programs.light.enable = true;
# Enable polkit # Enable polkit
security.polkit.enable = true; security.polkit.enable = true;
# programs.river = {
# enable = true;
# extraPackages = [];
# };
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.crony = { users.users.crony = {
isNormalUser = true; isNormalUser = true;
description = "Crony"; 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"]; 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 # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -176,19 +168,13 @@
}; };
# Enable my flake specific settings # Enable my flake specific settings
# crony.nvidia.enable = true;
crony.gaming.enable = true; crony.gaming.enable = true;
crony.nbfc.enable = true;
crony.wireguard.enable = true;
crony.additional-hardware.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.hyprland-nixos.enable = true;
crony.ollama.enable = false;
crony.sunshine.enable = true;
crony.nfs-share.enable = true; crony.nfs-share.enable = true;
crony.sddm.enable = true; crony.sddm.enable = true;
crony.wireguard.enable = true;
crony.secrets.enable = true;
# List packages installed in system profile # List packages installed in system profile
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -33,16 +33,15 @@
crony.gaming.enable = true; crony.gaming.enable = true;
crony.flatpak.enable = true; crony.flatpak.enable = true;
crony.wayland.enable = true; crony.wayland.enable = true;
crony.river.enable = false;
crony.hyprland.enable = true; crony.hyprland.enable = true;
crony.home-secrets.enable = true;
crony.restic.enable = true;
crony.neovim.enable = true; crony.neovim.enable = true;
crony.qutebrowser.enable = true; crony.qutebrowser.enable = true;
crony.mpv.enable = true; crony.mpv.enable = true;
crony.browsers.enable = true; crony.browsers.enable = true;
crony.desktop.enable = true; crony.desktop.enable = true;
crony.shell-additions.enable = true; crony.shell-additions.enable = true;
crony.home-secrets.enable = true;
crony.restic.enable = true;
# DO NOT CHANGE ALSO # DO NOT CHANGE ALSO
home.stateVersion = "24.11"; # Please read the comment before changing. home.stateVersion = "24.11"; # Please read the comment before changing.

View file

@ -56,7 +56,7 @@ in {
nas = { nas = {
initialize = true; initialize = true;
passwordFile = "/run/user/1000/agenix/restic-local-pass"; passwordFile = "/run/user/1000/agenix/restic-local-pass";
repository = "/home/crony/docs/nfs"; repository = "/home/crony/docs/nfs/backup";
paths = opts.paths; paths = opts.paths;
pruneOpts = opts.pruneOpts; pruneOpts = opts.pruneOpts;
checkOpts = opts.checkOpts; checkOpts = opts.checkOpts;