Initial commit

This commit is contained in:
Aleksandr 2024-08-05 20:53:43 +03:00
commit 38f32e9513
23 changed files with 243 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{
imports = [
./network
./graphics.nix
./sops.nix
];
}

View file

@ -0,0 +1,11 @@
{ commonMods, ... }:
{
imports = [
(commonMods + "/kde")
];
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
}

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

View file

@ -0,0 +1,5 @@
{
networking.firewall = {
enable = true;
};
}

View file

@ -0,0 +1,9 @@
{
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
Compression = "yes";
};
};
}

View 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;
};
};
}