hosts | template for new hosts
This commit is contained in:
parent
fae778bf33
commit
736980ddd7
2 changed files with 45 additions and 0 deletions
9
hosts/template/colmena.nix
Normal file
9
hosts/template/colmena.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
|
imports = [ ./default.nix ];
|
||||||
|
deployment = {
|
||||||
|
tags = [ "workstation" "intel" ];
|
||||||
|
allowLocalDeployment = true;
|
||||||
|
targetUser = "don";
|
||||||
|
privilegeEscalationCommand = [ "/run/wrappers/bin/doas" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
36
hosts/template/default.nix
Normal file
36
hosts/template/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
# ../disko/mmcblk.nix
|
||||||
|
../workstation
|
||||||
|
];
|
||||||
|
networking.hostName = "NAME";
|
||||||
|
variables.address = "0.0.0.1";
|
||||||
|
variables.swayScale = "1.0";
|
||||||
|
|
||||||
|
roles = {
|
||||||
|
citrix.enable = false;
|
||||||
|
zoom.enable = false;
|
||||||
|
gui.enable = true;
|
||||||
|
kmscon.enable = true;
|
||||||
|
kvm.enable = false;
|
||||||
|
games.enable = false;
|
||||||
|
auto-cpufreq.enable = true;
|
||||||
|
wine.enable = false;
|
||||||
|
tlp.enable = false;
|
||||||
|
gnome-calendar.enable = false;
|
||||||
|
};
|
||||||
|
primary.enable = false;
|
||||||
|
wm = {
|
||||||
|
sway.enable = true;
|
||||||
|
kde.enable = false;
|
||||||
|
cosmic.enable = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue