Standardize storing dconf and .steam
This commit is contained in:
parent
5a65ab7b78
commit
ca0987c21a
3 changed files with 16 additions and 18 deletions
|
@ -43,17 +43,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
persistence."/persist" = {
|
persistence."/persist".directories = [
|
||||||
directories = [
|
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
"/var/lib/decky-loader"
|
"/var/lib/decky-loader"
|
||||||
];
|
];
|
||||||
users.${config.sysusers.main}.directories = [
|
|
||||||
".local/share/gnome-settings-daemon"
|
|
||||||
".local/share/gnome-shell"
|
|
||||||
".steam"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
gnome.excludePackages = with pkgs; [
|
gnome.excludePackages = with pkgs; [
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
baobab
|
baobab
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
".config/heroic"
|
".config/heroic"
|
||||||
".local/share/PrismLauncher"
|
".local/share/PrismLauncher"
|
||||||
".local/share/Steam"
|
".local/share/Steam"
|
||||||
|
".steam"
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.allowUnfreePackages = [
|
nixpkgs.allowUnfreePackages = [
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
dconf.settings = lib.mkIf config.home.desktop.enable {
|
config = lib.mkIf config.home.desktop.enable {
|
||||||
|
dconf.settings = {
|
||||||
"org/gnome/desktop/interface/color-scheme" = {
|
"org/gnome/desktop/interface/color-scheme" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
};
|
};
|
||||||
|
@ -9,4 +10,7 @@
|
||||||
uris = [ "qemu:///system" ];
|
uris = [ "qemu:///system" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.persistence."/persist${config.home.homeDirectory}".directories = [ ".config/dconf" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue