additional configuration
This commit is contained in:
+7
-1
@@ -14,10 +14,16 @@
|
|||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
efiInstallAsRemovable = true;
|
efiInstallAsRemovable = true;
|
||||||
mirroredBoots = [
|
mirroredBoots = [
|
||||||
{ devices = [ "nodev" ]; path = "/boot"; }
|
{
|
||||||
|
devices = [ "nodev" ];
|
||||||
|
path = "/boot";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# needed to allowOther in home.nix
|
||||||
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
||||||
networking.hostName = "nixos";
|
networking.hostName = "nixos";
|
||||||
networking.hostId = "4cb9fc76";
|
networking.hostId = "4cb9fc76";
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,27 @@
|
|||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "zroot/root";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/2755-9134";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/nix" =
|
||||||
|
{ device = "zroot/nix";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/persist" =
|
||||||
|
{ device = "zroot/persist";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|||||||
@@ -32,12 +32,12 @@
|
|||||||
|
|
||||||
# user program config files
|
# user program config files
|
||||||
home.file = {
|
home.file = {
|
||||||
"hypr".source = ./roy-config/hypr;
|
".config/hypr".source = ./roy-config/hypr;
|
||||||
"waybar".source = ./roy-config/waybar;
|
".config/waybar".source = ./roy-config/waybar;
|
||||||
};
|
};
|
||||||
|
|
||||||
# user persisted dirs
|
# user persisted dirs
|
||||||
home.persistence."/persist/home" = {
|
home.persistence."/persist/home/roy" = {
|
||||||
directories = [
|
directories = [
|
||||||
".ssh"
|
".ssh"
|
||||||
"rp"
|
"rp"
|
||||||
|
|||||||
Reference in New Issue
Block a user