summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorReplayCoding <[email protected]>2023-01-25 17:47:54 -0800
committerseth <[email protected]>2023-01-26 03:50:03 -0500
commit6b126efdb4cf0b88f085c3f325fc6fd362268f19 (patch)
treea8baf84aaae4af35040c5745fe4feeae42dcdb56 /flake.nix
parent7608b3701bf43502a9d3e5752b5f4cd9643f126b (diff)
help
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index f9d0085..046969c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,26 +12,28 @@
self,
nixpkgs,
nixpkgsUnstable,
+ lanzaboote,
+ nixos-wsl,
...
}: let
- util = import ./util;
+ util = import ./util/host.nix inputs;
in {
nixosConfigurations = {
- glados = util.host.mkHost {
+ glados = util.mkHost {
name = "glados";
modules = [
- self.lanzaboote.nixosModules.lanzaboote
+ lanzaboote.nixosModules.lanzaboote
./hosts/glados
];
pkgs = nixpkgsUnstable;
};
- glados-wsl = util.host.mkHost {
+ glados-wsl = util.mkHost {
name = "glados-wsl";
modules = [
./hosts/glados-wsl
- self.nixos-wsl.nixosModules.wsl
+ nixos-wsl.nixosModules.wsl
({lib, ...}: {
environment.noXlibs = lib.mkForce false;
wsl = {