change machine specification

This commit is contained in:
andromeda
2025-12-30 01:40:54 +01:00
parent 0179bbeb5c
commit cba7b6b833
3 changed files with 4 additions and 3 deletions

View File

@@ -33,7 +33,7 @@
stylix, stylix,
... ...
}: let }: let
laptop = import ./machines/laptop.nix; laptop = import ./machines/laptop/machine.nix;
in { in {
nixosConfigurations.${laptop.hostname} = nixpkgs.lib.nixosSystem { nixosConfigurations.${laptop.hostname} = nixpkgs.lib.nixosSystem {
system = laptop.system; system = laptop.system;
@@ -66,7 +66,7 @@
impermanence.nixosModules.impermanence impermanence.nixosModules.impermanence
noshell.nixosModules.default noshell.nixosModules.default
./configuration.nix ./configuration.nix
./hardware-configuration.nix laptop.hardware-configuration
]; ];
}; };
}; };

View File

@@ -20,7 +20,7 @@
fileSystems."/" = { fileSystems."/" = {
device = "none"; device = "none";
fsType = "tmpfs"; fsType = "tmpfs";
options = ["defaults" "size=25%" "mode=755"]; options = ["defaults" "size=60%" "mode=755"];
}; };
fileSystems."/nix" = { fileSystems."/nix" = {

View File

@@ -2,4 +2,5 @@
hostname = "lenovo"; hostname = "lenovo";
usernames = ["andromeda"]; usernames = ["andromeda"];
system = "x86_64-linux"; system = "x86_64-linux";
hardware-configuration = ./hardware-configuration.nix;
} }