nixos, hardware: remove ./<brand name>/<series name>/<module name>/<hostname>

This commit is contained in:
Guanran Wang 2023-11-30 03:14:29 +08:00
parent 3f08f3b706
commit 8264702934
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 5 additions and 11 deletions

View file

@ -176,11 +176,15 @@
./users/guanranwang/nixos/profiles/opt-in/torrenting.nix ./users/guanranwang/nixos/profiles/opt-in/torrenting.nix
# Hardware # Hardware
./nixos/hardware/lenovo/legion/81fw/Aristotle ./nixos/hardware/lenovo/legion/81fw
./nixos/flake-modules/lanzaboote.nix
./nixos/flake-modules/impermanence.nix
./nixos/flake-modules/disko.nix
{ {
networking.hostName = "Aristotle"; networking.hostName = "Aristotle";
time.timeZone = "Asia/Shanghai"; time.timeZone = "Asia/Shanghai";
_module.args.disks = ["/dev/nvme0n1"]; # Disko
} }
]; ];
}; };

View file

@ -1,10 +0,0 @@
{...}: {
imports = [
../default.nix
../../../../../flake-modules/lanzaboote.nix
../../../../../flake-modules/impermanence.nix
../../../../../flake-modules/disko.nix
];
_module.args.disks = ["/dev/nvme0n1"]; # Disko
}