mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/medicine: Init
This commit is contained in:
parent
bfd472f04a
commit
dcb96480c6
2 changed files with 32 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
30
config/hosts/medicine.nix
Normal file
30
config/hosts/medicine.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue