additional configuration
This commit is contained in:
+7
-1
@@ -14,10 +14,16 @@
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
mirroredBoots = [
|
||||
{ devices = [ "nodev" ]; path = "/boot"; }
|
||||
{
|
||||
devices = [ "nodev" ];
|
||||
path = "/boot";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# needed to allowOther in home.nix
|
||||
programs.fuse.userAllowOther = true;
|
||||
|
||||
networking.hostName = "nixos";
|
||||
networking.hostId = "4cb9fc76";
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
impermanence.nixosModules.impermanence
|
||||
sops-nix.nixosModules.sops
|
||||
impermanence.nixosModules.impermanence
|
||||
sops-nix.nixosModules.sops
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
@@ -34,7 +34,7 @@
|
||||
imports = [
|
||||
./home.nix
|
||||
nixvim.homeManagerModules.nixvim
|
||||
impermanence.homeManagerModules.impermanence
|
||||
impermanence.homeManagerModules.impermanence
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,6 +13,27 @@
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
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 = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
|
||||
# user program config files
|
||||
home.file = {
|
||||
"hypr".source = ./roy-config/hypr;
|
||||
"waybar".source = ./roy-config/waybar;
|
||||
".config/hypr".source = ./roy-config/hypr;
|
||||
".config/waybar".source = ./roy-config/waybar;
|
||||
};
|
||||
|
||||
# user persisted dirs
|
||||
home.persistence."/persist/home" = {
|
||||
home.persistence."/persist/home/roy" = {
|
||||
directories = [
|
||||
".ssh"
|
||||
"rp"
|
||||
|
||||
Reference in New Issue
Block a user