users/foo-dogsquared: update various parts of the environment

Update things, more appreciation for VS Code and LLMs, and all that
jazz.
This commit is contained in:
Gabriel Arazas 2024-11-24 20:47:34 +08:00
parent 36e07b5b50
commit ee0ad60385
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
5 changed files with 12 additions and 7 deletions

View File

@ -39,10 +39,8 @@ in
{ id = "nglaklhklhcoonedhgnpgddginnjdadi"; } # ActivityWatch Web Watcher
{ id = "dgjhfomjieaadpoljlnidmbgkdffpack"; } # Sourcegraph
{ id = "palihjnakafgffnompkdfgbgdbcagbko"; } # UpdateSWH
]
++ (lib.optionals (lib.elem "a-happy-gnome" attrs.nixosConfig.workflows.workflows) [
{ id = "gphhapmejobijbbhgpjhcjognlahblep"; } # GNOME Shell integration
]);
];
};
services.bleachbit.cleaners = [
@ -137,7 +135,7 @@ in
"browser.search.widget.inNavBar" = true;
"browser.search.openintab" = true;
"browser.startup.homepage" =
lib.mkIf userCfg.programs.custom-homepage.enable "file://${userCfg.programs.custom-homepage.finalPackage}/index.html";
lib.mkIf userCfg.programs.custom-homepage.enable "file://${config.xdg.dataHome}/foodogsquared/homepage";
# Some privacy settings...
"privacy.donottrackheader.enabled" = true;

View File

@ -118,5 +118,7 @@ in
${installThemes}
'';
});
xdg.dataFile."foodogsquared/homepage".source = cfg.finalPackage;
};
}

View File

@ -16,7 +16,8 @@ in
lib.optional userCfg.programs.browsers.firefox.enable "firefox.desktop"
++ lib.optional userCfg.setups.desktop.enable "thunderbird.desktop"
++ lib.optional userCfg.setups.development.enable "org.wezfurlong.wezterm.desktop"
++ lib.optional userCfg.programs.doom-emacs.enable "emacs.desktop";
++ lib.optional userCfg.programs.doom-emacs.enable "emacs.desktop"
++ lib.optional userCfg.programs.vs-code.enable "code.desktop";
};
"org/gnome/calculator" = {

View File

@ -142,13 +142,14 @@ in
settings = let
backup_path = "${config.xdg.cacheHome}/ludusavi/backups";
in {
manifest.url = "https://raw.githubusercontent.com/mtkennerly/ludusavi-manifest/master/data/manifest.yaml";
manifest.enable = true;
roots = [
{ path = "${config.home.homeDirectory}/.steam"; store = "steam"; }
{ path = "${config.xdg.dataHome}/lutris"; store = "lutris"; }
];
backup.path = backup_path;
restore.path = backup_path;
release.check = false;
};
};
};

View File

@ -51,6 +51,9 @@ in {
# Testing REST.
httpie
httpie-desktop
# Testing out LLMs.
plandex
];
}