Compare commits

...

2 commits

Author SHA1 Message Date
f849a1ab5d
chore: update nysh 2024-11-21 00:13:57 +01:00
11c50f397f
chore: add container to firefox 2024-11-21 00:13:52 +01:00
4 changed files with 19 additions and 13 deletions

8
flake.lock generated
View file

@ -287,11 +287,11 @@
"quickshell": "quickshell"
},
"locked": {
"lastModified": 1732098440,
"narHash": "sha256-RKnOKsIc8v+lZE1Oq3ZJtAj90o/VjdjylwTD8xVSw7o=",
"lastModified": 1732144137,
"narHash": "sha256-hrV1W+0oxvMNE9iEBSU0qSJV2kTFU+v5T0XnWZ1bcw4=",
"ref": "refs/heads/main",
"rev": "a516c42fa522d79814e94a53bdcc85615f7daf2a",
"revCount": 85,
"rev": "de30bb78c998c4e496316b4faa31062e1fbc7586",
"revCount": 86,
"type": "git",
"url": "https://git.ccnlc.eu/nydragon/nysh.git"
},

View file

@ -2,6 +2,7 @@
pkgs,
lib,
osConfig,
config,
...
}:
lib.mkIf osConfig.programs.firefox.enable {
@ -9,8 +10,8 @@ lib.mkIf osConfig.programs.firefox.enable {
enable = true;
# Installed by nixpkgs module
package = null;
profiles.ny = {
name = "ny";
profiles.${config.home.username} = {
name = config.home.username;
isDefault = true;
userChrome = ''
/* Hides the native tabs */
@ -26,6 +27,14 @@ lib.mkIf osConfig.programs.firefox.enable {
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
containers = {
uni = {
color = "blue";
icon = "briefcase";
};
};
containersForce = true;
search = {
default = "DuckDuckGo";
force = true;

View file

@ -115,12 +115,6 @@ lib.mkIf osConfig.programs.sway.enable {
#: }}}
};
#: }}}
#: Startup {{{
startup = [
{ command = "${config.services.kdeconnect.package}/bin/kdeconnect-indicator"; }
{ command = "${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"; }
];
#: }}}
assigns = {
"2" = [ { app_id = "firefox"; } ];
"3" = [ { app_id = "obsidian"; } ];

View file

@ -154,7 +154,10 @@
MOZ_ENABLE_WAYLAND = 1;
};
security.polkit.enable = true;
security.polkit = {
enable = true;
package = pkgs.polkit-kde-agent;
};
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;