hosts/medicine: Init

This commit is contained in:
kat witch 2021-09-09 03:19:58 +01:00
parent bfd472f04a
commit dcb96480c6
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 32 additions and 0 deletions

View file

@ -20,6 +20,7 @@ These are the NixOS configurations for my systems. I run nothing other than NixO
| [goliath][] | Private | Beloved workstation. Does VFIO. | | [goliath][] | Private | Beloved workstation. Does VFIO. |
| [koishi][] | Private | Main laptop. | | [koishi][] | Private | Main laptop. |
| [ran][] | Private | CCTV netbook. | | [ran][] | Private | CCTV netbook. |
| [medicine][] | None | Work-in-progress Live USB. |
## Profiles ## Profiles
@ -160,6 +161,7 @@ Please use `nix-shell` or [direnv/direnv][]. The shell is not compatible with [n
[goliath]: config/hosts/goliath [goliath]: config/hosts/goliath
[koishi]: config/hosts/koishi [koishi]: config/hosts/koishi
[ran]: config/hosts/ran [ran]: config/hosts/ran
[medicine]: config/hosts/medicine.nix
[here]: config/profiles/base/profiles.nix [here]: config/profiles/base/profiles.nix
[base]: config/profiles/base [base]: config/profiles/base
[gui]: config/profiles/gui [gui]: config/profiles/gui

30
config/hosts/medicine.nix Normal file
View file

@ -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";
};
}