working on refactor getting parzival setup
This commit is contained in:
parent
cf387f536a
commit
5b61c605cc
5 changed files with 47 additions and 1 deletions
0
hosts/nixos/Dragneel/default.nix
Normal file
0
hosts/nixos/Dragneel/default.nix
Normal file
|
|
@ -12,10 +12,19 @@
|
|||
}: {
|
||||
imports = lib.flatten [
|
||||
# Hardware
|
||||
inputs.hardware.nixosModules.framework-13-7040-amd
|
||||
./hardware-configuration.nix # I want to use factor if possible
|
||||
|
||||
# Disks
|
||||
inputs.disko.nixosModules.disko
|
||||
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-impermanence-disk.nix")
|
||||
{
|
||||
_module.args = {
|
||||
disk = "/dev/nvme0n1";
|
||||
withSwap = true;
|
||||
swapSize = 8;
|
||||
};
|
||||
}
|
||||
|
||||
# Misc
|
||||
|
||||
|
|
@ -27,4 +36,21 @@
|
|||
"hosts/common/optional/keyd.nix"
|
||||
])
|
||||
];
|
||||
|
||||
hostSpec = {
|
||||
hostName = "Incarceron";
|
||||
persistFolder = "/persist";
|
||||
};
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
enableIPv6 = false;
|
||||
};
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue