Changing file structure to prepare for ISO

This commit is contained in:
Lyes Saadi 2024-05-05 19:25:12 +02:00
parent 635a37bac0
commit 4122a52949
No known key found for this signature in database
GPG key ID: 17418538BAA17767
12 changed files with 37 additions and 22 deletions

32
generic/user/user.nix Normal file
View file

@ -0,0 +1,32 @@
{ 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";
};
}