initial working home manager setup

This commit is contained in:
Rouven Seifert 2022-12-19 15:45:59 +01:00
parent 68d67965f5
commit 659cdd2804
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
6 changed files with 308 additions and 10 deletions

19
users/rouven/default.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
# Define a user account.
users.users.rouven = {
isNormalUser = true;
extraGroups = [ "wheel" "video" "libvirtd" ];
};
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.rouven = { lib, pkgs, ... }: {
imports = [ ./modules ];
config = {
home.stateVersion = config.system.stateVersion;
};
};
}