Refactoring configuration
This commit is contained in:
parent
09e3cc520a
commit
a87c269dfc
9 changed files with 336 additions and 287 deletions
21
user/user.nix
Normal file
21
user/user.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue