home(gnome): link monitors.xml
This commit is contained in:
parent
72abf5e6fd
commit
e875a9c8d0
3 changed files with 8 additions and 2 deletions
|
@ -22,4 +22,11 @@ in mkIf cfg.enable {
|
||||||
catppuccin.enable = mkForce false;
|
catppuccin.enable = mkForce false;
|
||||||
home.pointerCursor = mkForce null;
|
home.pointerCursor = mkForce null;
|
||||||
gtk.enable = false;
|
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.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: {
|
home-manager.users = mapAttrs (name: opts: {
|
||||||
imports = with inputs; cfg.homeModules ++ [
|
imports = with inputs; cfg.homeModules ++ [
|
||||||
|
impermanence.homeManagerModules.impermanence
|
||||||
catppuccin.homeManagerModules.catppuccin
|
catppuccin.homeManagerModules.catppuccin
|
||||||
];
|
];
|
||||||
home.file.".face" = mkIf (opts.picture != null) {
|
home.file.".face" = mkIf (opts.picture != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue