diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index dcc3948..cad9bc1 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -108,17 +108,20 @@ users.users.crony = { isNormalUser = true; description = "Crony"; - # hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; + hashedPasswordFile = "${config.age.secrets.crony-passwd.path}"; extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat"]; }; - # users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}"; + users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}"; - # users.mutableUsers = false; + users.mutableUsers = false; # Allow unfree packages nixpkgs.config.allowUnfree = true; + # Enable my flake specific settings + crony.secrets.enable = true; + # List packages installed in system profile environment.systemPackages = with pkgs; [ neovim diff --git a/hosts/ymir/disk-config.nix b/hosts/ymir/disk-config.nix index f061911..a496f62 100644 --- a/hosts/ymir/disk-config.nix +++ b/hosts/ymir/disk-config.nix @@ -22,11 +22,7 @@ content = { type = "luks"; name = "crypt"; - passwordFile = "/tmp/secret.key"; # Interactive - settings = { - allowDiscards = true; - keyFile = "/tmp/secret.key"; - }; + settings.allowDiscards = true; content = { type = "btrfs"; extraArgs = ["-f"]; diff --git a/hosts/ymir/hardware-configuration.nix b/hosts/ymir/hardware-configuration.nix index e0970af..d45cece 100644 --- a/hosts/ymir/hardware-configuration.nix +++ b/hosts/ymir/hardware-configuration.nix @@ -17,19 +17,6 @@ boot.kernelModules = ["kvm-amd"]; boot.extraModulePackages = []; - fileSystems."/" = { - device = "/dev/disk/by-uuid/0fbf752d-9234-42bd-9e04-8246de85e8d6"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/3156-31B6"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; - - swapDevices = []; - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction diff --git a/modules/cross-platform/home-manager/neovim.nix b/modules/cross-platform/home-manager/neovim.nix index d8f77c0..64683ec 100644 --- a/modules/cross-platform/home-manager/neovim.nix +++ b/modules/cross-platform/home-manager/neovim.nix @@ -131,10 +131,10 @@ in { server = "nixd"; options = { nixos = { - expr = ''(builtins.getFlake "/home/crony/Repos/nixos").nixosConfigurations.CONFIGNAME.options''; + expr = ''(builtins.getFlake "/home/crony/repos/nixos").nixosConfigurations.CONFIGNAME.options''; }; home_manager = { - expr = ''(builtins.getFlake "/home/crony/Repos/nixos").homeConfigurations.CONFIGNAME.options''; + expr = ''(builtins.getFlake "/home/crony/repos/nixos").homeConfigurations.CONFIGNAME.options''; }; }; }; diff --git a/modules/linux/nixos/nh.nix b/modules/linux/nixos/nh.nix index a2275dd..05b4e72 100644 --- a/modules/linux/nixos/nh.nix +++ b/modules/linux/nixos/nh.nix @@ -11,7 +11,7 @@ # Install nh programs.nh = { enable = true; - flake = "/home/crony/Repos/nixos"; + flake = "/home/crony/repos/nixos"; clean = { enable = true; extraArgs = "--keep 5 --keep-since 3d";