przystosowanie konfiguracji pod siebie

This commit is contained in:
2025-09-18 16:01:58 +02:00
parent be171552d0
commit 0908e9eed6
165 changed files with 1799 additions and 11964 deletions

View File

@@ -1,9 +1,11 @@
{ pkgs
, inputs
, username
, host
, profile
, ...
{
pkgs,
inputs,
username,
host,
profile,
system,
...
}:
let
inherit (import ../../hosts/${host}/variables.nix) gitUsername;
@@ -13,8 +15,16 @@ in
home-manager = {
useUserPackages = true;
useGlobalPkgs = false;
backupFileExtension = "backup";
extraSpecialArgs = { inherit inputs username host profile; };
backupFileExtension = "backup-nixos";
extraSpecialArgs = {
inherit
inputs
username
host
profile
system
;
};
users.${username} = {
imports = [ ./../home ];
home = {
@@ -30,15 +40,16 @@ in
description = "${gitUsername}";
extraGroups = [
"adbusers"
"docker" #access to docker as non-root
"libvirtd" #Virt manager/QEMU access
"docker" # access to docker as non-root
"libvirtd" # Virt manager/QEMU access
"lp"
"networkmanager"
"scanner"
"wheel" #subdo access
"vboxusers" #Virtual Box
"wheel" # subdo access
"vboxusers" # Virtual Box
"gamemode"
];
shell = pkgs.zsh;
shell = pkgs.bash;
ignoreShellProgramCheck = true;
};
nix.settings.allowed-users = [ "${username}" ];