before trying flakes (pray for me)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user