diff options
Diffstat (limited to 'hosts/laptop/configuration.nix')
| -rw-r--r-- | hosts/laptop/configuration.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index e69de29..b067b26 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -0,0 +1,57 @@ +{ username, ... }: +{ + system.stateVersion = "25.05"; + + imports = [ + ./hardware-configuration.nix + ../../sys/default.nix + ]; + + sys = { + core = { + allowUnfree.enable = true; + + audio.enable = true; + bootloader = "grub"; + drivers = { + enable = true; + amd.enable = true; + }; + fonts.enable = true; + greet.enable = true; + home-manager = { + enable = true; + users.${username}.path = ./home.nix; + }; + locale.enable = true; + network.enable = true; + memory = { + zram.enable = true; + zram.percent = 25; + swapfile.enable = true; + swapfile.size = 8; + }; + power.enable = true; + security.enable = true; + storage = { + enable = true; + keepDays = 14; + }; + users.enable = true; + }; + srv = { + files = { + thunar.enable = true; + utils.enable = true; + }; + gaming = { + enable = true; + steam.enable = true; + }; + nix-helper.enable = true; + }; + wm = { + niri.enable = true; + }; + }; +} |
