mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 21:33:11 +01:00
20 lines
436 B
Nix
20 lines
436 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|