1
0
Fork 0

pluh 🗣

This commit is contained in:
Lukas Wurzinger 2025-03-01 22:21:00 +01:00
parent 3ad9944baa
commit 668140531b
No known key found for this signature in database
59 changed files with 985 additions and 219 deletions

View file

@ -1,4 +1,9 @@
{
fileSystems."/boot" = {
label = "BOOT";
fsType = "vfat";
};
boot = {
loader = {
systemd-boot = {

View file

@ -9,9 +9,14 @@
nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
optimise.automatic = true;
settings = {
trusted-users = config.users.normalUsers;
experimental-features = "nix-command flakes";
trusted-users = ["root"] ++ config.users.normalUsers;
experimental-features = [
"nix-command"
"flakes"
];
auto-optimise-store = true;
};
};

View file

@ -3,7 +3,10 @@
self,
...
}: {
environment.systemPackages = [
self.packages.${pkgs.system}.puter
];
environment = {
systemPackages = [
self.packages.${pkgs.system}.puter
];
sessionVariables.PUTER_FLAKEREF = "git+https://forgejo@tea.wrz.one/lukas/puter.git";
};
}

View file

@ -15,7 +15,8 @@ in {
users = {
root = {
hashedPassword = "!";
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.hosts;
# TODO define this more granularly
openssh.authorizedKeys.keys = [];
};
${mainUser} = {
description = "Lukas Wurzinger";