Enable some default file browser bookmarks

Add some device-specific bookmarks for Vanguard, work specific
bookmarks for work machines
This commit is contained in:
Evie Litherland-Smith 2025-03-03 11:26:23 +00:00
parent 637e60f1e0
commit cd556dd80b
3 changed files with 51 additions and 30 deletions

View file

@ -65,9 +65,16 @@
services.hardware.openrgb.enable = true;
networking.wg-quick.interfaces.wg0.configFile = "/etc/wireguard/gb-mnc-wg-001.conf";
system.stateVersion = "23.05";
home-manager.users.${username} = {
home-manager.users.${username} =
{ config, ... }:
{
imports = [ ./home/swww/default.nix ];
home.stateVersion = "23.05";
gtk.gtk3.bookmarks =
let
home = config.home.homeDirectory;
in
[ "file://${home}/Models" ];
programs = {
btop.package = pkgs.btop-rocm;
obs-studio = {

View file

@ -1,5 +1,6 @@
{
config,
lib,
pkgs,
username,
...
@ -126,7 +127,6 @@
home-manager.users.${username} =
{
config,
pkgs,
osConfig,
...
}:
@ -153,6 +153,16 @@
gtk = {
enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
gtk3.bookmarks =
with config.xdg.userDirs;
lib.mkBefore [
"file://${desktop}"
"file://${documents}"
"file://${download}"
"file://${music}"
"file://${pictures}"
"file://${videos}"
];
iconTheme = {
package = (pkgs.papirus-icon-theme.override { color = "violet"; });
name = if config.lib.stylix.colors.variant == "light" then "Papirus-Light" else "Papirus-Dark";

View file

@ -16,5 +16,9 @@
proton.primary = lib.mkForce false;
outlook.primary = lib.mkForce true;
};
gtk.gtk3.bookmarks = lib.mkAfter [
"smb://msrv-cfshare.ccfepc.ccfe.ac.uk/ndrive/"
"smb://msrv-cfshare.ccfepc.ccfe.ac.uk/newt/"
];
};
}