home(gnome): link monitors.xml
This commit is contained in:
parent
dead3b78d3
commit
29ca6c9a85
3 changed files with 8 additions and 2 deletions
|
@ -22,4 +22,11 @@ in mkIf cfg.enable {
|
|||
catppuccin.enable = mkForce false;
|
||||
home.pointerCursor = mkForce null;
|
||||
gtk.enable = false;
|
||||
|
||||
home.persistence."/nix/persist/home/${config.home.username}" = {
|
||||
removePrefixDirectory = true;
|
||||
files = [
|
||||
(if config.specialisation != {} then "gnome/.config/monitors.xml" else "extern/.config/monitors.xml")
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -46,6 +46,4 @@ in mkIf cfg.enable {
|
|||
]);
|
||||
|
||||
users.home.persist.directories = [ ".config/dconf" ];
|
||||
users.home.persist.files = [ ".config/monitors.xml" ];
|
||||
environment.persistence."/nix/persist/fhs".directories = [ ];
|
||||
}
|
||||
|
|
|
@ -139,6 +139,7 @@ in {
|
|||
|
||||
home-manager.users = mapAttrs (name: opts: {
|
||||
imports = with inputs; cfg.homeModules ++ [
|
||||
impermanence.homeManagerModules.impermanence
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
];
|
||||
home.file.".face" = mkIf (opts.picture != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue