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/hardware-configuration.nix b/hosts/skadi/hardware-configuration.nix index d45cece..9110239 100644 --- a/hosts/skadi/hardware-configuration.nix +++ b/hosts/skadi/hardware-configuration.nix @@ -12,9 +12,9 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"]; + boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-amd"]; + boot.kernelModules = ["kvm-intel"]; boot.extraModulePackages = []; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -22,9 +22,9 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s20f0u6.useDHCP = lib.mkDefault true; + # networking.interfaces.enp4s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } 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/hyprland.nix b/modules/linux/home-manager/hyprland.nix index 764bcc5..078c450 100644 --- a/modules/linux/home-manager/hyprland.nix +++ b/modules/linux/home-manager/hyprland.nix @@ -144,6 +144,7 @@ in { monitor = [ "HDMI-A-1, 1920x1080@144, 0x0, 1" + "DP-1, 1920x1080@165, 0x0, 1" "eDP-1, 1920x1080, 0x0, 1" "sunshine, 1920x1080@144, 0x0, 1" ]; 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;