mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
initial working home manager setup
This commit is contained in:
parent
68d67965f5
commit
659cdd2804
6 changed files with 308 additions and 10 deletions
19
users/rouven/default.nix
Normal file
19
users/rouven/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue