diff options
| author | andromeda <andromeda@lenovo> | 2025-12-30 01:40:54 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2025-12-30 01:40:54 +0100 |
| commit | cba7b6b8335797137b387e08fa7ac955cb5692b2 (patch) | |
| tree | 56d592b1b1ba3cda072955d44e7b59086e36346c | |
| parent | 0179bbeb5c9dfaf27c232d8d125af467640ddbd5 (diff) | |
change machine specification
| -rw-r--r-- | flake.nix | 4 | ||||
| -rw-r--r-- | machines/laptop/hardware-configuration.nix (renamed from hardware-configuration.nix) | 2 | ||||
| -rw-r--r-- | machines/laptop/machine.nix (renamed from machines/laptop.nix) | 1 |
3 files changed, 4 insertions, 3 deletions
@@ -33,7 +33,7 @@ stylix, ... }: let - laptop = import ./machines/laptop.nix; + laptop = import ./machines/laptop/machine.nix; in { nixosConfigurations.${laptop.hostname} = nixpkgs.lib.nixosSystem { system = laptop.system; @@ -66,7 +66,7 @@ impermanence.nixosModules.impermanence noshell.nixosModules.default ./configuration.nix - ./hardware-configuration.nix + laptop.hardware-configuration ]; }; }; diff --git a/hardware-configuration.nix b/machines/laptop/hardware-configuration.nix index 2c0a93f..e0a98d9 100644 --- a/hardware-configuration.nix +++ b/machines/laptop/hardware-configuration.nix @@ -20,7 +20,7 @@ fileSystems."/" = { device = "none"; fsType = "tmpfs"; - options = ["defaults" "size=25%" "mode=755"]; + options = ["defaults" "size=60%" "mode=755"]; }; fileSystems."/nix" = { diff --git a/machines/laptop.nix b/machines/laptop/machine.nix index c70deb9..d6b1e01 100644 --- a/machines/laptop.nix +++ b/machines/laptop/machine.nix @@ -2,4 +2,5 @@ hostname = "lenovo"; usernames = ["andromeda"]; system = "x86_64-linux"; + hardware-configuration = ./hardware-configuration.nix; } |
