migrate configuration.nix into flexible modular flake setup

This commit is contained in:
2025-06-03 19:17:51 +02:00
parent 44dc0edf96
commit 7633c55ed7
9 changed files with 300 additions and 300 deletions

14
modules/users.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
# Define the main user account
users = {
users.schulze = {
isNormalUser = true;
description = "Felix Schulze";
extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.fish;
};
groups.libvirtd.members = ["schulze"];
};
}