From a7cd9846a174a46aacb9c922f15cb3b8a9f74daa Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sat, 4 Feb 2023 15:27:34 -0800 Subject: [PATCH] feat: bootable --- nixos/{common/boot.nix => bootable.nix} | 0 systems/chen.nix | 6 +++++- systems/koishi.nix | 1 + systems/renko.nix | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) rename nixos/{common/boot.nix => bootable.nix} (100%) diff --git a/nixos/common/boot.nix b/nixos/bootable.nix similarity index 100% rename from nixos/common/boot.nix rename to nixos/bootable.nix diff --git a/systems/chen.nix b/systems/chen.nix index 100769f9..01575f7b 100644 --- a/systems/chen.nix +++ b/systems/chen.nix @@ -1,9 +1,13 @@ _: let - hostConfig = {tree, modulesPath, inputs, pkgs, ...}: { + hostConfig = {lib, tree, modulesPath, inputs, pkgs, ...}: let + inherit (lib.modules) mkForce; + in { imports = with tree; [ inputs.wsl.nixosModules.wsl ]; + networking.firewall.enable = mkForce false; + fileSystems = { "/" = { device = "/dev/sdc"; diff --git a/systems/koishi.nix b/systems/koishi.nix index 97284e2e..af11f7d1 100644 --- a/systems/koishi.nix +++ b/systems/koishi.nix @@ -2,6 +2,7 @@ _: let hostConfig = {tree, pkgs, ...}: { imports = with tree; [ nixos.gui + nixos.bootable kat.gui ]; diff --git a/systems/renko.nix b/systems/renko.nix index b1a948b1..97bd8497 100644 --- a/systems/renko.nix +++ b/systems/renko.nix @@ -4,6 +4,7 @@ _: let in { imports = with tree; [ nixos.rosetta + nixos.bootable ]; boot = {