modularized the config

This commit is contained in:
Rouven Seifert 2022-12-19 19:30:32 +01:00
parent fa032ceaca
commit 7e3ab85170
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
10 changed files with 375 additions and 355 deletions

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
# Define a user account.
users.users.rouven = {
isNormalUser = true;
extraGroups = [ "wheel" "video" "libvirtd" ];
@ -13,6 +12,8 @@
imports = [ ./modules ];
config = {
home.username = "rouven";
home.homeDirectory = "/home/rouven";
home.stateVersion = config.system.stateVersion;
};
};