From 826470293435c9cd4259c775dc8f6e9946c97fd9 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Thu, 30 Nov 2023 03:14:29 +0800 Subject: [PATCH] nixos, hardware: remove .//// --- flake.nix | 6 +++++- .../hardware/lenovo/legion/81fw/Aristotle/default.nix | 10 ---------- 2 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 nixos/hardware/lenovo/legion/81fw/Aristotle/default.nix diff --git a/flake.nix b/flake.nix index 0e8cede..7b537d8 100755 --- a/flake.nix +++ b/flake.nix @@ -176,11 +176,15 @@ ./users/guanranwang/nixos/profiles/opt-in/torrenting.nix # 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"; time.timeZone = "Asia/Shanghai"; + _module.args.disks = ["/dev/nvme0n1"]; # Disko } ]; }; diff --git a/nixos/hardware/lenovo/legion/81fw/Aristotle/default.nix b/nixos/hardware/lenovo/legion/81fw/Aristotle/default.nix deleted file mode 100644 index f0e8645..0000000 --- a/nixos/hardware/lenovo/legion/81fw/Aristotle/default.nix +++ /dev/null @@ -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 -}