before trying flakes (pray for me)

This commit is contained in:
Weckyy702
2026-01-12 00:09:36 +01:00
parent 84534b0ea1
commit 6122cba650
11 changed files with 2252 additions and 41 deletions

View File

@@ -10,6 +10,8 @@
./hardware-configuration.nix
./../../nixos-modules/devtools.nix
./../../nixos-modules/desktop.nix
./../../nixos-modules/apps.nix
./../../homemanager-modules
];
# Bootloader.
@@ -47,17 +49,11 @@
# Configure console keymap
console.keyMap = "de";
# Define a user account. Don't forget to set a password with passwd.
users.users.weckyy702 = {
isNormalUser = true;
description = "Weckyy702";
extraGroups = [ "networkmanager" "wheel" ];
};
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix.settings.trusted-users = [ "weckyy702" ];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;

View File

@@ -18,10 +18,15 @@
fsType = "ext4";
};
#TODO: add external hdd, nas, and ssd
swapDevices =
[ { device = "/dev/disk/by-uuid/40b22e5b-839d-4189-93e7-246407cc76c7"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.graphics.enable = true;
hardware.graphics.extraPackages = [ pkgs.rocmPackages.clr.icd ];
}