pc3 is pc2
This commit is contained in:
parent
e085501d00
commit
dbe364c39c
2 changed files with 1 additions and 1 deletions
53
hardware/vinzenz-pc2.nix
Normal file
53
hardware/vinzenz-pc2.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{...}: {
|
||||||
|
config = {
|
||||||
|
boot = {
|
||||||
|
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; # "usb_storage"
|
||||||
|
initrd.kernelModules = [];
|
||||||
|
kernelModules = ["kvm-amd"];
|
||||||
|
extraModulePackages = [];
|
||||||
|
loader.efi.efiSysMountPoint = "/boot";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/" = {
|
||||||
|
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = ["subvol=@"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/home" = {
|
||||||
|
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = ["subvol=@home"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/games" = {
|
||||||
|
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = ["subvol=@games"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/AF67-8F16";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
|
"/mnt/nixos_btrfs_root" = {
|
||||||
|
# subvolume with id 5 is always the root volume
|
||||||
|
# this is convenient for managing the flat subvolume hierarchy
|
||||||
|
device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = ["subvolid=5"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"/mnt/ssd2" = {
|
||||||
|
device = "/dev/disk/by-uuid/6b2a647d-c68e-4c07-85bf-c9bfc5db7e8a";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [];
|
||||||
|
|
||||||
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
22
vinzenz-pc2.nix
Normal file
22
vinzenz-pc2.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./modules
|
||||||
|
(import ./hardware "vinzenz-pc2")
|
||||||
|
];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
my.kde.enable = true;
|
||||||
|
my.home = {
|
||||||
|
vinzenz.enable = true;
|
||||||
|
ronja.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.groups."games" = {
|
||||||
|
members = ["vinzenz" "ronja"];
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.vinzenz.openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrY6tcgnoC/xbgL7vxSjddEY9MBxRXe9n2cAHt88/TT home roaming"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue