More configuration progression
This commit is contained in:
parent
b00e1c1c9d
commit
9c5f454a1c
17 changed files with 213 additions and 59 deletions
42
modules/home/caem/default.nix
Normal file
42
modules/home/caem/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ inputs, lib, config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.impermanence.homeManagerModules.impermanence
|
||||
] ++ lib.getModuleImports ./.;
|
||||
|
||||
home = {
|
||||
username = "caem";
|
||||
homeDirectory = "/home/caem";
|
||||
stateVersion = "24.11";
|
||||
};
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs = {
|
||||
enable = true;
|
||||
|
||||
documents = "${config.home.homeDirectory}/documents";
|
||||
download = "${config.home.homeDirectory}/download";
|
||||
music = "${config.home.homeDirectory}/music";
|
||||
pictures = "${config.home.homeDirectory}/images";
|
||||
videos = "${config.home.homeDirectory}/videos";
|
||||
|
||||
/* I do not use these */
|
||||
desktop = "${config.xdg.dataHome}/xdg/desktop";
|
||||
publicShare = "${config.xdg.dataHome}/xdg/publicShare";
|
||||
templates = "${config.xdg.dataHome}/xdg/templates";
|
||||
};
|
||||
};
|
||||
|
||||
home.persistence."/nix/persist/home/caem" = {
|
||||
directories = [
|
||||
"documents"
|
||||
"download"
|
||||
"music"
|
||||
"pictures"
|
||||
"videos"
|
||||
"programming"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue