1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-07-14 21:18:44 +02:00
parent 3f6dafe073
commit 79792e5a76
No known key found for this signature in database
24 changed files with 143 additions and 101 deletions

View file

@ -1,3 +1,6 @@
{
profiles.server.enable = true;
profiles = {
server.enable = true;
trusted.enable = true;
};
}

View file

@ -1,5 +1,4 @@
{
config,
lib,
...
}:
@ -25,7 +24,7 @@ lib.mkMerge (
};
systemd.tmpfiles.settings."10-static-sites".${root}.d = {
user = config.users.mainUser;
user = "helvetica";
group = "users";
mode = "0755";
};

13
hosts/abacus/users.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, inputs, ... }:
{
age.secrets.user-helvetica.file = inputs.self + /secrets/users/helvetica.age;
users.users.helvetica = {
description = "Helvetica";
uid = 1000;
isNormalUser = true;
hashedPasswordFile = config.age.secrets.user-helvetica.path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
};
}

View file

@ -6,5 +6,6 @@
gaming.enable = true;
piracy.enable = true;
productivity.enable = true;
trusted.enable = true;
};
}

13
hosts/flamingo/users.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, inputs, ... }:
{
age.secrets.user-helvetica.file = inputs.self + /secrets/users/helvetica.age;
users.users.helvetica = {
description = "Helvetica";
uid = 1000;
isNormalUser = true;
hashedPasswordFile = config.age.secrets.user-helvetica.path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
};
}

6
hosts/glacier/beets.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
environment.systemPackages = [
pkgs.beets
];
}

View file

@ -6,5 +6,6 @@
gaming.enable = true;
piracy.enable = true;
productivity.enable = true;
trusted.enable = true;
};
}

View file

@ -1,8 +1,13 @@
{ config, inputs, ... }:
{
users.users.futura = {
description = "Futura";
uid = 1001;
age.secrets.user-helvetica.file = inputs.self + /secrets/users/helvetica.age;
users.users.helvetica = {
description = "Helvetica";
uid = 1000;
isNormalUser = true;
password = "futura";
hashedPasswordFile = config.age.secrets.user-helvetica.path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
};
}

View file

@ -1,14 +1,14 @@
{
config,
lib,
...
}:
let
inherit (config.users) mainUser;
in
{
users = {
mainUser = lib.mkForce "insomniac";
users.${mainUser}.description = lib.mkForce "Insomniac";
users.users.helvetica = {
description = "Insomniac";
uid = 1000;
isNormalUser = true;
password = "";
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
};
}

View file

@ -1,3 +1,6 @@
{
profiles.server.enable = true;
profiles = {
server.enable = true;
trusted.enable = true;
};
}

13
hosts/vessel/users.nix Normal file
View file

@ -0,0 +1,13 @@
{ config, inputs, ... }:
{
age.secrets.user-helvetica.file = inputs.self + /secrets/users/helvetica.age;
users.users.helvetica = {
description = "Helvetica";
uid = 1000;
isNormalUser = true;
hashedPasswordFile = config.age.secrets.user-helvetica.path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
};
}

View file

@ -1,14 +1,13 @@
{ config, inputs, ... }:
{
config,
lib,
...
}:
let
inherit (config.users) mainUser;
in
{
users = {
mainUser = lib.mkForce "lukas";
users.${mainUser}.description = lib.mkForce "Lukas Wurzinger";
age.secrets.user-lukas.file = inputs.self + /secrets/users/helvetica.age;
users.users.lukas = {
description = "Lukas Wurzinger";
uid = 1000;
isNormalUser = true;
hashedPasswordFile = config.age.secrets.user-lukas.path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
};
}