diff --git a/README.md b/README.md index 073768e7..d04f2ce5 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ These are the NixOS configurations for my systems. I run nothing other than NixO | [goliath][] | Private | Beloved workstation. Does VFIO. | | [koishi][] | Private | Main laptop. | | [ran][] | Private | CCTV netbook. | +| [medicine][] | None | Work-in-progress Live USB. | ## Profiles @@ -160,6 +161,7 @@ Please use `nix-shell` or [direnv/direnv][]. The shell is not compatible with [n [goliath]: config/hosts/goliath [koishi]: config/hosts/koishi [ran]: config/hosts/ran + [medicine]: config/hosts/medicine.nix [here]: config/profiles/base/profiles.nix [base]: config/profiles/base [gui]: config/profiles/gui diff --git a/config/hosts/medicine.nix b/config/hosts/medicine.nix new file mode 100644 index 00000000..d80a7c8e --- /dev/null +++ b/config/hosts/medicine.nix @@ -0,0 +1,30 @@ +{ meta, config, pkgs, modulesPath, lib, ... }: with lib; { + options.home-manager.users = let + userNMExtend = { config, nixos, ... }: { + services.network-manager-applet.enable = true; + }; + userBase16Extend = { config, nixos, ... }: { + base16.alias.default = "atelier.atelier-cave-light"; + }; + in mkOption { + type = types.attrsOf (types.submoduleWith { + modules = [ userNMExtend userBase16Extend ]; + }); + }; + + imports = with meta; [ + profiles.laptop + profiles.gui + users.kat.guiFull + (modulesPath + "/installer/cd-dvd/installation-cd-base.nix") + ]; + + config = { + networking = { + useDHCP = true; + networkmanager.enable = true; + }; + + system.stateVersion = "21.11"; + }; +}