small files

This commit is contained in:
Your Name 2024-04-28 20:39:51 +03:00
parent 26596a1310
commit 040a4319a4
5 changed files with 18 additions and 14 deletions

View file

@ -109,7 +109,7 @@ in
show-in-lock-screen = false; show-in-lock-screen = false;
}; };
"org/gnome/desktop/session" = { "org/gnome/desktop/session" = {
idle-delay = mkUint32 0; idle-delay = mkUint32 180;
}; };
"org/gnome/shell/extensions/unite" = { "org/gnome/shell/extensions/unite" = {
enable-titlebar-actions = true; enable-titlebar-actions = true;
@ -125,9 +125,10 @@ in
show-window-buttons = "never"; show-window-buttons = "never";
show-window-title = "never"; show-window-title = "never";
}; };
#"org/gnome/shell/extensions/user-theme" = { "org/gnome/shell/extensions/user-theme" = {
# name = "Mojave-Dark-solid-alt"; name = "Mojave-Dark-solid-alt";
#}; #name = "Catppuccin-Mocha-Compact-Lavender-Dark";
};
"org/gnome/shell/weather" = { "org/gnome/shell/weather" = {
automatic-location = true; automatic-location = true;
}; };

View file

@ -78,8 +78,9 @@ let
namespacedWork = pkgs.writeScriptBin "namespaced_work" '' namespacedWork = pkgs.writeScriptBin "namespaced_work" ''
#!/usr/bin/env bash #!/usr/bin/env bash
NETNS_NAME="work" NETNS_NAME="work"
NETNS_NAMESERVER_1="1.1.1.1" #NETNS_NAMESERVER_1="1.1.1.1"
NETNS_NAMESERVER_2="1.1.0.1" NETNS_NAMESERVER_1="${inputs.secrets.work.dns1}"
NETNS_NAMESERVER_2="${inputs.secrets.work.dns2}"
VETH0_NAME="work0" VETH0_NAME="work0"
VETH1_NAME="work1" VETH1_NAME="work1"
@ -291,8 +292,10 @@ let
if [[ $choice == "no-remote" ]]; then if [[ $choice == "no-remote" ]]; then
${pkgs.gtk3}/bin/gtk-launch kittywork ${pkgs.gtk3}/bin/gtk-launch kittywork
mkdir -p /etc/netns/work
cat ${hostsNoRemote} > /etc/netns/work/hosts
elif [[ $choice == "no-remote-resume" ]]; then elif [[ $choice == "no-remote-resume" ]]; then
firejail --ignore='include whitelist-run-common.inc' --blacklist='/var/run/nscd' --profile=firefox --hosts-file=${hostsNoRemote} --netns=work firefox -P work -no-remote --class firefoxwork --name firefoxwork firejail --ignore='include whitelist-run-common.inc' --blacklist='/var/run/nscd' --profile=firefox --hosts-file=${hostsNoRemote} --netns=work --dns=${inputs.secrets.work.dns1} firefox -P work -no-remote --class firefoxwork --name firefoxwork
elif [[ $choice == "remote" ]]; then elif [[ $choice == "remote" ]]; then
firejail --ignore='include whitelist-run-common.inc' --blacklist='/var/run/nscd' --profile=firefox --hosts-file=${hostsRemote} ${pkgs.firefox}/bin/firefox -P work -no-remote --class firefoxwork --name firefoxwork firejail --ignore='include whitelist-run-common.inc' --blacklist='/var/run/nscd' --profile=firefox --hosts-file=${hostsRemote} ${pkgs.firefox}/bin/firefox -P work -no-remote --class firefoxwork --name firefoxwork
else else

View file

@ -122,8 +122,8 @@
hide_window_decorations = "yes"; hide_window_decorations = "yes";
remote_control_password = "kitty-notification-password-fish ls"; remote_control_password = "kitty-notification-password-fish ls";
allow_remote_control = "password"; allow_remote_control = "password";
font_family= "FiraCode Nerd Font"; #FiraCode Nerd Font Ret font_family= "FiraCode"; #FiraCode Nerd Font Ret
font_features = "FiraCodeNF-Reg +ss01 +ss02 +ss06 +ss08 +cv14 +cv03 +tnum"; font_features = "FiraCode +ss01 +ss02 +ss06 +ss08 +cv14 +cv03 +tnum";
color0 = "#3F3F3F"; color0 = "#3F3F3F";
color1 = "#705050"; color1 = "#705050";

View file

@ -13,6 +13,8 @@ let
"FiraCode" "FiraCode"
#"Mononoki" #"Mononoki"
"Iosevka" "Iosevka"
"IBMPlexMono"
"NerdFontsSymbolsOnly"
]; ];
}); });
in { in {

View file

@ -133,8 +133,6 @@ in {
any-nix-shell fish --info-right | source any-nix-shell fish --info-right | source
''; '';
}; };
#just incase: ${pkgs.any-nix-shell}/bin/any-nix-shell fish --info-right | source
#tide configure --auto --style=Lean --prompt_colors='16 colors' --show_time=No --lean_prompt_height='Two lines' --prompt_connection=Disconnected --prompt_spacing=Compact --icons='Few icons' --transient=No
programs.tmux.enable = true; programs.tmux.enable = true;
programs.direnv.enable = true; programs.direnv.enable = true;