feat: big refactor
This commit is contained in:
parent
2c09c21833
commit
ebedec9768
159 changed files with 1927 additions and 2222 deletions
57
modules/home-manager/default.nix
Normal file
57
modules/home-manager/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ config, ... }@inputs:
|
||||
let
|
||||
common = import ../core/common.nix;
|
||||
in
|
||||
{
|
||||
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
users.users.gandalf = {
|
||||
isNormalUser = true;
|
||||
extraGroups = config.bchmnn.user.extraGroups;
|
||||
};
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
|
||||
home-manager.users.gandalf = rec {
|
||||
imports = [
|
||||
./gui
|
||||
./scripts
|
||||
./applications.nix
|
||||
./audio.nix
|
||||
./dconf.nix
|
||||
./git.nix
|
||||
./gnupg.nix
|
||||
./keyd.nix
|
||||
./neovim.nix
|
||||
./shell.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
home = {
|
||||
username = "gandalf";
|
||||
homeDirectory = "/home/gandalf";
|
||||
shellAliases = common.aliases;
|
||||
stateVersion = "23.05";
|
||||
};
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "${config.home.homeDirectory}/tmp";
|
||||
documents = "${config.home.homeDirectory}/docs";
|
||||
download = "${config.home.homeDirectory}/dl";
|
||||
music = "${config.home.homeDirectory}/music";
|
||||
pictures = "${config.home.homeDirectory}/pics";
|
||||
publicShare = "${config.home.homeDirectory}/public";
|
||||
templates = "${config.home.homeDirectory}/templates";
|
||||
videos = "${config.home.homeDirectory}/vids";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue