additional configuration

This commit is contained in:
2025-06-07 15:31:09 -05:00
parent 08a4888699
commit 59777d1c93
4 changed files with 34 additions and 7 deletions
+7 -1
View File
@@ -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";
+3 -3
View File
@@ -25,8 +25,8 @@
modules = [ modules = [
./configuration.nix ./configuration.nix
./hardware-configuration.nix ./hardware-configuration.nix
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
@@ -34,7 +34,7 @@
imports = [ imports = [
./home.nix ./home.nix
nixvim.homeManagerModules.nixvim nixvim.homeManagerModules.nixvim
impermanence.homeManagerModules.impermanence impermanence.homeManagerModules.impermanence
]; ];
}; };
} }
+21
View File
@@ -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
+3 -3
View File
@@ -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"