More configuration progression

This commit is contained in:
caem 2025-01-11 02:00:28 +01:00
parent b00e1c1c9d
commit 9c5f454a1c
Signed by: caem
GPG key ID: 69A830D03203405F
17 changed files with 213 additions and 59 deletions

View 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"
];
};
}