cleanup
This commit is contained in:
parent
527eccd87a
commit
12ac06d18c
4
base.nix
4
base.nix
|
@ -88,10 +88,10 @@
|
||||||
nix.settings.min-free = 3 * 1024 * 1024 * 1024; # starts cg
|
nix.settings.min-free = 3 * 1024 * 1024 * 1024; # starts cg
|
||||||
nix.settings.max-free = 20 * 1024 * 1024 * 1024; # condition to end gc triggered by min-free
|
nix.settings.max-free = 20 * 1024 * 1024 * 1024; # condition to end gc triggered by min-free
|
||||||
|
|
||||||
services.thermald.enable = lib.mkIf (lib.all (x: x) [
|
services.thermald.enable = lib.all (x: x) [
|
||||||
(config.nixpkgs.system == "x86_64-linux")
|
(config.nixpkgs.system == "x86_64-linux")
|
||||||
(!config.boot.isContainer or false)
|
(!config.boot.isContainer or false)
|
||||||
]) true;
|
];
|
||||||
|
|
||||||
# no acme in VM mode:
|
# no acme in VM mode:
|
||||||
virtualisation.vmVariant = {
|
virtualisation.vmVariant = {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
nix.settings.allowed-users = [ "adrlau" ];
|
nix.settings.allowed-users = [ "adrlau" ];
|
||||||
nix.settings.trusted-users = [ "adrlau" ];
|
nix.settings.trusted-users = [ "adrlau" ];
|
||||||
|
|
||||||
users.users.adrlau = {
|
users.users."adrlau" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1007;
|
uid = 1007;
|
||||||
description = "Adrian";
|
description = "Adrian";
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
nix.settings.allowed-users = [ "bartvbl" ];
|
nix.settings.allowed-users = [ "bartvbl" ];
|
||||||
nix.settings.trusted-users = [ "bartvbl" ];
|
nix.settings.trusted-users = [ "bartvbl" ];
|
||||||
|
|
||||||
users.users.bartvbl = {
|
users.users."bartvbl" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1004;
|
uid = 1004;
|
||||||
description = "Bart Iver van Blokland";
|
description = "Bart Iver van Blokland";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
nix.settings.allowed-users = [ "daniel" ];
|
nix.settings.allowed-users = [ "daniel" ];
|
||||||
nix.settings.trusted-users = [ "daniel" ];
|
nix.settings.trusted-users = [ "daniel" ];
|
||||||
|
|
||||||
users.users.daniel = {
|
users.users."daniel" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1003;
|
uid = 1003;
|
||||||
description = "daniel";
|
description = "daniel";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
nix.settings.allowed-users = [ "eirikwit" ];
|
nix.settings.allowed-users = [ "eirikwit" ];
|
||||||
nix.settings.trusted-users = [ "eirikwit" ];
|
nix.settings.trusted-users = [ "eirikwit" ];
|
||||||
|
|
||||||
users.users.eirikwit = {
|
users.users."eirikwit" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1005;
|
uid = 1005;
|
||||||
description = "eirik";
|
description = "eirik";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
nix.settings.allowed-users = [ "h7x4" ];
|
nix.settings.allowed-users = [ "h7x4" ];
|
||||||
nix.settings.trusted-users = [ "h7x4" ];
|
nix.settings.trusted-users = [ "h7x4" ];
|
||||||
|
|
||||||
users.users.h7x4 = {
|
users.users."h7x4" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1006;
|
uid = 1006;
|
||||||
description = "Øystein";
|
description = "Øystein";
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
nix.settings.allowed-users = [ "jornane" ];
|
nix.settings.allowed-users = [ "jornane" ];
|
||||||
nix.settings.trusted-users = [ "jornane" ];
|
nix.settings.trusted-users = [ "jornane" ];
|
||||||
|
|
||||||
users.users.jornane = {
|
users.users."jornane" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1002;
|
uid = 1002;
|
||||||
description = "jornane";
|
description = "jornane";
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
nix.settings.allowed-users = [ "pbsds" ];
|
nix.settings.allowed-users = [ "pbsds" ];
|
||||||
nix.settings.trusted-users = [ "pbsds" ];
|
nix.settings.trusted-users = [ "pbsds" ];
|
||||||
|
|
||||||
users.groups.pbsds.gid = 1001; # TODO: remove this, add a uid map to NFS instead
|
users.groups."pbsds".gid = 1001; # TODO: remove this, add a uid map to NFS instead
|
||||||
users.users.pbsds = {
|
users.users."pbsds" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = 1001; # TODO: uid mapping be done at nfs-mount level? That way we can enforce
|
uid = 1001; # TODO: uid mapping be done at nfs-mount level? That way we can enforce
|
||||||
description = "pbsds";
|
description = "pbsds";
|
||||||
|
@ -82,4 +82,9 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILocbYCqu63RT2+mE0l+ZWWw9RVHNcydtLXbLklg6oPe pederbs@pvv"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILocbYCqu63RT2+mE0l+ZWWw9RVHNcydtLXbLklg6oPe pederbs@pvv"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#virtualisation.vmVariant = {
|
||||||
|
# users.users."pbsds".initialHashedPassword = "TODO";
|
||||||
|
#}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue