Changing the structure of the configuration
This commit is contained in:
parent
be8c206e60
commit
c06849e70f
12 changed files with 2 additions and 24 deletions
|
|
@ -1,32 +0,0 @@
|
|||
{ pkgs, home-manager, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./packages.nix
|
||||
home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
users.users.lyes = {
|
||||
description = "Lyes Saadi";
|
||||
home = "/home/lyes";
|
||||
isNormalUser = true;
|
||||
initialHashedPassword = ""; # Set for vms and initial installations
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.lyes = { pkgs, ... }: {
|
||||
imports =
|
||||
[
|
||||
./home.nix
|
||||
];
|
||||
|
||||
home.username = "lyes";
|
||||
home.homeDirectory = "/home/lyes";
|
||||
|
||||
home.stateVersion = "22.11";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue