change machine specification
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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" = {
|
||||||
@@ -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;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user