update home-manager

This commit is contained in:
chayleaf 2024-08-05 05:52:19 +07:00
parent 5ef36a7b93
commit 8b6a6035c6
Signed by: chayleaf
GPG key ID: 78171AD46227E68E
5 changed files with 32 additions and 10 deletions

View file

@ -324,11 +324,11 @@
]
},
"locked": {
"lastModified": 1714645000,
"narHash": "sha256-RelIgcYWJnUdE96Hjh8gR6wmsNgLc1LHDZY5VtdR6Eo=",
"lastModified": 1722249061,
"narHash": "sha256-Pu5XX3A61doE7mMaWHpyi/GaccVmedQO2UiflfHY+v4=",
"owner": "chayleaf",
"repo": "home-manager",
"rev": "2a477b78f5e95a0b8ed741786524ca0fbfe0c230",
"rev": "a0ba4158d98443568ffaa0352c944303ba33f025",
"type": "github"
},
"original": {

View file

@ -238,7 +238,11 @@
extraSpecialArgs = { inherit inputs; };
modules = [
./home/hosts/remote.nix
({ pkgs, ... }: { home.file.hysteria.source = pkgs.hysteria; })
({ pkgs, ... }: {
home.file.hysteria.source = pkgs.hysteria;
home.file.shadowsocks-libev.source = pkgs.shadowsocks-libev;
home.file.shadowsocks-rust.source = pkgs.shadowsocks-rust;
})
];
};
}

View file

@ -7,7 +7,7 @@
{
imports = [ ./gui.nix ];
programs.firefox = {
programs.librewolf = {
enable = true;
package = pkgs.wrapFirefox pkgs.librewolf-unwrapped {
inherit (pkgs.librewolf-unwrapped) extraPrefsFiles extraPoliciesFiles;
@ -15,6 +15,17 @@
libName = "librewolf";
nativeMessagingHosts = with pkgs; [ keepassxc ];
};
profiles.other.id = 1;
profiles.other.bookmarks = [{
name = "bookmarklets";
toolbar = true;
bookmarks = [
{
name = "example.com";
url = "https://example.com";
}
];
}];
profiles.chayleaf = lib.mkMerge [
{
extensions = (with config.nur.repos.rycee.firefox-addons; [

View file

@ -172,11 +172,11 @@ commonConfig = {
names = [ "Noto Sans Mono" "Symbols Nerd Font Mono" ];
size = 16.0;
};
gaps = {
smartBorders = "on";
smartGaps = true;
inner = 10;
};
# gaps = {
# smartBorders = "on";
# smartGaps = true;
# inner = 10;
# };
window.hideEdgeBorders = "smart";
workspaceAutoBackAndForth = true;
};
@ -297,6 +297,11 @@ in
app_id = "^org.keepassxc.KeePassXC$";
title = "^KeePassXC - (?:Browser |)?(?:Access Request|)$";
}; }
{ command = "floating on; border normal";
criteria = {
class = "ghidra-Ghidra";
title = "\\[CodeBrowser.*\\]$";
}; }
]; };
assigns = {
"2" = [

View file

@ -78,6 +78,8 @@ in {
{ directory = /var/lib/certspotter; user = "certspotter"; group = "certspotter"; mode = "0755"; }
] ++ lib.optionals (config.services.coop-fd.enable or false) [
{ directory = /var/lib/private/coop-fd; mode = "0750"; defaultPerms.mode = "0700"; }
] ++ lib.optionals config.virtualisation.docker.enable [
{ directory = /var/lib/docker; user = "root"; group = "root"; mode = "0710"; }
] ++ lib.optionals config.services.dovecot2.enable [
{ directory = /var/lib/dhparams; user = "root"; group = "root"; mode = "0755"; }
{ directory = /var/lib/dovecot; user = "root"; group = "root"; mode = "0755"; }