Initial commit
This commit is contained in:
commit
38f32e9513
23 changed files with 243 additions and 0 deletions
7
machines/lil-maid/modules/default.nix
Normal file
7
machines/lil-maid/modules/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./network
|
||||
./graphics.nix
|
||||
./sops.nix
|
||||
];
|
||||
}
|
11
machines/lil-maid/modules/graphics.nix
Normal file
11
machines/lil-maid/modules/graphics.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ commonMods, ... }:
|
||||
{
|
||||
imports = [
|
||||
(commonMods + "/kde")
|
||||
];
|
||||
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
}
|
14
machines/lil-maid/modules/network/default.nix
Normal file
14
machines/lil-maid/modules/network/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
imports = [
|
||||
./firewall.nix
|
||||
./ssh.nix
|
||||
];
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
networking.search = [
|
||||
"8.8.8.8"
|
||||
"8.8.4.4"
|
||||
];
|
||||
networking.hostName = "lil-maid";
|
||||
}
|
5
machines/lil-maid/modules/network/firewall.nix
Normal file
5
machines/lil-maid/modules/network/firewall.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
9
machines/lil-maid/modules/network/ssh.nix
Normal file
9
machines/lil-maid/modules/network/ssh.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
Compression = "yes";
|
||||
};
|
||||
};
|
||||
}
|
16
machines/lil-maid/modules/sops.nix
Normal file
16
machines/lil-maid/modules/sops.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ commonMods, ... }:
|
||||
{
|
||||
modules = [
|
||||
# From this machine I work.
|
||||
(commonMods + "/sops/work.nix")
|
||||
|
||||
# From this machine I develop VienDesu!
|
||||
(commonMods + "/sops/viendesu.nix")
|
||||
];
|
||||
|
||||
sops = {
|
||||
secrets."users/nero/password" = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue