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

View file

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

View file

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