more work on hosts/ and modules/config

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-04 18:48:42 +03:00
parent a87f912600
commit 03bcc94645
27 changed files with 136 additions and 249 deletions

View File

@ -1,4 +1,8 @@
{inputs, ...}: {
{
config,
inputs,
...
}: {
imports = with inputs; [
self.nixosModules.config
self.nixosModules.desktop
@ -8,6 +12,7 @@
];
networking = {
networkmanager.enable = true;
hostId = "c7f6c4a1";
hostName = "dunamis";
};
@ -18,13 +23,15 @@
desktop.niri.enable = true;
module.config = {
secureBoot = true;
tpmDiskUnlock = true;
};
module.stylix = {
enable = true;
theme = "helios";
module = {
config = {
secureBoot = true;
tpmDiskUnlock = true;
};
stylix = {
enable = true;
theme = "helios";
};
};
locale.ukrainian.enable = true;
@ -32,4 +39,16 @@
qmk-vial.enable = true;
security.basic.enable = true;
virtual.libvirt.enable = true;
nix = let
inherit (builtins) readFile;
inherit (config.users.users) user;
in {
settings.trusted-users = ["nix-ssh"];
sshServe = {
enable = true;
write = true;
keys = map (f: readFile f) user.openssh.authorizedKeys.keyFiles;
};
};
}