This commit is contained in:
2026-07-04 05:01:54 +02:00
parent 524ee6e1ce
commit 12f0b1e422
116 changed files with 1355 additions and 231 deletions
+9
View File
@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
imports =
[
./users.nix
./security.nix
./system.nix
];
}
+9
View File
@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
security = {
doas = {
enable = true;
extraConfig = "permit nopass keepenv :wheel";
};
};
}
+21
View File
@@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
sandbox = true;
};
};
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"librewolf-151.0.2-1"
"librewolf-unwrapped-151.0.2-1"
];
};
};
system = {
stateVersion = "26.05";
};
}
+15
View File
@@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
users.users.user = {
isNormalUser = true;
createHome = true;
home = "/home/user";
extraGroups =
[
"users" "wheel" "root"
"plugdev" "dialout" "input"
"network" "disk" "cdrom"
"video" "audio" "scanner"
];
};
}