Refactoring configuration

This commit is contained in:
Lyes Saadi 2024-04-10 01:08:29 +02:00
parent 09e3cc520a
commit a87c269dfc
No known key found for this signature in database
GPG key ID: 17418538BAA17767
9 changed files with 336 additions and 287 deletions

21
user/user.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
imports =
[
./packages.nix
];
users.users.lyes = {
description = "Lyes Saadi";
home = "/home/lyes";
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
shell = pkgs.fish;
};
home-manager.useUserPackages = true;
home-manager.users.lyes = { pkgs, ... }: {
home.stateVersion = "22.11";
};
}