Compare commits
2 commits
f849a1ab5d
...
a767af7ecc
Author | SHA1 | Date | |
---|---|---|---|
a767af7ecc | |||
9b1e5e4b61 |
5 changed files with 25 additions and 18 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -287,11 +287,11 @@
|
||||||
"quickshell": "quickshell"
|
"quickshell": "quickshell"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731862325,
|
"lastModified": 1732144137,
|
||||||
"narHash": "sha256-K6F/3dMLzPucS0E3wCgqmIGu5WbrYRhVeTKRyFsh9Cc=",
|
"narHash": "sha256-hrV1W+0oxvMNE9iEBSU0qSJV2kTFU+v5T0XnWZ1bcw4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "a57cc7c1d2f6dc5dd2642b6d9d9dab2ca8f43da2",
|
"rev": "de30bb78c998c4e496316b4faa31062e1fbc7586",
|
||||||
"revCount": 81,
|
"revCount": 86,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.ccnlc.eu/nydragon/nysh.git"
|
"url": "https://git.ccnlc.eu/nydragon/nysh.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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"; } ];
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
lib,
|
lib,
|
||||||
inputs',
|
inputs',
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -20,6 +21,11 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
systemd.user.services.nysh = {
|
systemd.user.services.nysh = {
|
||||||
|
path = [
|
||||||
|
pkgs.curl
|
||||||
|
pkgs.brightnessctl
|
||||||
|
pkgs.networkmanager
|
||||||
|
];
|
||||||
wantedBy = [
|
wantedBy = [
|
||||||
"multi-user.target"
|
"multi-user.target"
|
||||||
"graphical-session.target"
|
"graphical-session.target"
|
||||||
|
@ -33,11 +39,6 @@ in
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
PrivateMounts = true;
|
|
||||||
ProtectHostname = true;
|
|
||||||
ProtectKernelTunables = true;
|
|
||||||
PrivateTmp = true;
|
|
||||||
IPAddressDeny = "any";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue