feat: bootable

This commit is contained in:
Kat Inskip 2023-02-04 15:27:34 -08:00
parent ec29a3e56c
commit a7cd9846a1
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
4 changed files with 7 additions and 1 deletions

View file

@ -1,9 +1,13 @@
_: let _: let
hostConfig = {tree, modulesPath, inputs, pkgs, ...}: { hostConfig = {lib, tree, modulesPath, inputs, pkgs, ...}: let
inherit (lib.modules) mkForce;
in {
imports = with tree; [ imports = with tree; [
inputs.wsl.nixosModules.wsl inputs.wsl.nixosModules.wsl
]; ];
networking.firewall.enable = mkForce false;
fileSystems = { fileSystems = {
"/" = { "/" = {
device = "/dev/sdc"; device = "/dev/sdc";

View file

@ -2,6 +2,7 @@ _: let
hostConfig = {tree, pkgs, ...}: { hostConfig = {tree, pkgs, ...}: {
imports = with tree; [ imports = with tree; [
nixos.gui nixos.gui
nixos.bootable
kat.gui kat.gui
]; ];

View file

@ -4,6 +4,7 @@ _: let
in { in {
imports = with tree; [ imports = with tree; [
nixos.rosetta nixos.rosetta
nixos.bootable
]; ];
boot = { boot = {