Compare commits
No commits in common. "f21920fc9f14af2b3d2434feeb91cd8eb39971fc" and "ab485dec3523b41265d741156a954771fdd9a41b" have entirely different histories.
f21920fc9f
...
ab485dec35
5 changed files with 23 additions and 33 deletions
|
@ -92,7 +92,6 @@ in {
|
||||||
# Release binds
|
# Release binds
|
||||||
bindr = [
|
bindr = [
|
||||||
(key "Alt_L" "Super+Alt" "togglespecialworkspace" "wallpaper")
|
(key "Alt_L" "Super+Alt" "togglespecialworkspace" "wallpaper")
|
||||||
(key "Alt_L" "Super+Alt+Shift" "movetoworkspacesilent" "special:wallpaper")
|
|
||||||
(key "Control_L" "Super+Ctrl" "layoutmsg" "swapwithmaster master")
|
(key "Control_L" "Super+Ctrl" "layoutmsg" "swapwithmaster master")
|
||||||
(key "Control_L" "Super+Ctrl+Alt+Shift" "layoutmsg" "removemaster")
|
(key "Control_L" "Super+Ctrl+Alt+Shift" "layoutmsg" "removemaster")
|
||||||
(key "Control_L" "Super+Ctrl+Shift" "layoutmsg" "addmaster")
|
(key "Control_L" "Super+Ctrl+Shift" "layoutmsg" "addmaster")
|
||||||
|
@ -205,14 +204,12 @@ in {
|
||||||
(key "F" "Super" "exec" nautilus)
|
(key "F" "Super" "exec" nautilus)
|
||||||
(key "G" "Super" "workspace" "name:game")
|
(key "G" "Super" "workspace" "name:game")
|
||||||
(key "G" "Super+Alt" "workspace" "name:gamescope")
|
(key "G" "Super+Alt" "workspace" "name:gamescope")
|
||||||
(key "G" "Super+Ctrl+Alt" "exec" "${pkill} gamescope")
|
|
||||||
(key "G" "Super+Shift" "movetoworkspacesilent" "name:game")
|
(key "G" "Super+Shift" "movetoworkspacesilent" "name:game")
|
||||||
|
(key "G" "Super+Ctrl+Alt" "exec" "${pkill} gamescope")
|
||||||
(key "K" "Super" "exec" obsidian)
|
(key "K" "Super" "exec" obsidian)
|
||||||
(key "M" "Super" "togglespecialworkspace" "music")
|
(key "M" "Super" "togglespecialworkspace" "music")
|
||||||
(key "M" "Super+Shift" "movetoworkspacesilent" "music")
|
(key "M" "Super+Shift" "movetoworkspacesilent" "music")
|
||||||
(key "O" "Super" "togglespecialworkspace" "office")
|
(key "O" "Super" "togglespecialworkspace" "office")
|
||||||
(key "O" "Super+Ctrl" "exec" "libreoffice")
|
|
||||||
(key "O" "Super+Shift" "movetoworkspacesilent" "special:office")
|
|
||||||
(key "P" "Super" "exec" "${hyprpicker} --autocopy")
|
(key "P" "Super" "exec" "${hyprpicker} --autocopy")
|
||||||
(key "P" "Super+Shift" "exec" "${hyprpicker} --autocopy --format rgb")
|
(key "P" "Super+Shift" "exec" "${hyprpicker} --autocopy --format rgb")
|
||||||
(key "Q" "Ctrl+Alt" "exec" "${kill} -9 $(${hyprctl} -j activewindow | ${jq} .pid)")
|
(key "Q" "Ctrl+Alt" "exec" "${kill} -9 $(${hyprctl} -j activewindow | ${jq} .pid)")
|
||||||
|
@ -229,13 +226,13 @@ in {
|
||||||
(key "V" "Super" "exec" "${kitty} --app-id clipboard --override font_size=12 ${clipse}")
|
(key "V" "Super" "exec" "${kitty} --app-id clipboard --override font_size=12 ${clipse}")
|
||||||
(key "V" "Super+Shift" "exec" "${clipse} -clear && ${notify-send} clipse 'Clipboard cleared' --urgency low")
|
(key "V" "Super+Shift" "exec" "${clipse} -clear && ${notify-send} clipse 'Clipboard cleared' --urgency low")
|
||||||
(key "W" "Super" "togglespecialworkspace" "vm")
|
(key "W" "Super" "togglespecialworkspace" "vm")
|
||||||
(key "W" "Super+Ctrl" "exec" "vm -x ${
|
(key "W" "Super+Shift" "exec" "vm -x ${
|
||||||
if config.custom.hidpi
|
if config.custom.hidpi
|
||||||
then "/scale:140 +f"
|
then "/scale:140 +f"
|
||||||
else ""
|
else ""
|
||||||
}")
|
}")
|
||||||
(key "W" "Super+Ctrl+Shift" "exec" "vm ${virt-manager} --show-domain-console myndows")
|
|
||||||
(key "W" "Super+Shift" "movetoworkspacesilent" "vm")
|
(key "W" "Super+Shift" "movetoworkspacesilent" "vm")
|
||||||
|
(key "W" "Super+Ctrl+Shift" "exec" "vm ${virt-manager} --show-domain-console myndows")
|
||||||
(key "X" "Super" "workspace" "+1")
|
(key "X" "Super" "workspace" "+1")
|
||||||
(key "X" "Super+Shift" "movetoworkspacesilent" "+1")
|
(key "X" "Super+Shift" "movetoworkspacesilent" "+1")
|
||||||
(key "Z" "Super" "workspace" "-1")
|
(key "Z" "Super" "workspace" "-1")
|
||||||
|
|
|
@ -177,7 +177,7 @@ in {
|
||||||
(tag.dropdown ["move ${dropdown.x} ${dropdown.y}" "pin" "size ${dropdown.w} ${dropdown.h}"])
|
(tag.dropdown ["move ${dropdown.x} ${dropdown.y}" "pin" "size ${dropdown.w} ${dropdown.h}"])
|
||||||
(tag.editor ["group invade" "tile"])
|
(tag.editor ["group invade" "tile"])
|
||||||
(tag.files ["size 1000 625"])
|
(tag.files ["size 1000 625"])
|
||||||
(tag.game ["fullscreen" "group barred" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
(tag.game ["group barred" "idleinhibit always" "noborder" "noshadow" "renderunfocused" "workspace name:game"])
|
||||||
(tag.music ["tile" "workspace special:music"])
|
(tag.music ["tile" "workspace special:music"])
|
||||||
(tag.office ["tile" "workspace special:office"])
|
(tag.office ["tile" "workspace special:office"])
|
||||||
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "pin" "size ${pip.w} ${pip.h}"])
|
(tag.pip ["keepaspectratio" "move ${pip.x} ${pip.y}" "pin" "size ${pip.w} ${pip.h}"])
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
|
|
|
@ -16,29 +16,27 @@ in {
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
nmbd.enable = false;
|
|
||||||
nsswins = false;
|
|
||||||
|
|
||||||
# https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
|
shares = {
|
||||||
settings = {
|
|
||||||
Public.path = "/home/${config.custom.username}/Public";
|
Public.path = "/home/${config.custom.username}/Public";
|
||||||
SYNC.path = "/home/${config.custom.username}/SYNC";
|
SYNC.path = "/home/${config.custom.username}/SYNC";
|
||||||
|
};
|
||||||
|
|
||||||
global = {
|
extraConfig = ''
|
||||||
"allow insecure wide links" = "yes";
|
logging = systemd
|
||||||
"browseable" = "no";
|
|
||||||
"follow symlinks" = "yes";
|
hosts allow = 127.0.0.1 myndows 192.168.111.
|
||||||
"force user" = config.custom.username;
|
|
||||||
"hostname lookups" = "yes";
|
browseable = yes
|
||||||
"hosts allow" = "192.168.111.";
|
writeable = yes
|
||||||
"inherit owner" = "unix only";
|
force user = ${config.custom.username}
|
||||||
"inherit permissions" = "yes";
|
map to guest = bad password
|
||||||
"logging" = "systemd";
|
inherit owner = unix only
|
||||||
"map to guest" = "bad password";
|
inherit permissions = yes
|
||||||
"wide links" = "yes";
|
follow symlinks = yes
|
||||||
"writeable" = "yes";
|
wide links = yes
|
||||||
};
|
allow insecure wide links = yes
|
||||||
};
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,12 +71,9 @@ in {
|
||||||
services.resolved = mkIf cfg.dns {
|
services.resolved = mkIf cfg.dns {
|
||||||
enable = true;
|
enable = true;
|
||||||
dnsovertls = "opportunistic"; # Fallback only
|
dnsovertls = "opportunistic"; # Fallback only
|
||||||
|
#// llmnr = "false";
|
||||||
#// domains = [ "~." ]; # All interfaces
|
#// domains = [ "~." ]; # All interfaces
|
||||||
|
#// extraConfig = "MulticastDNS=false"; # mDNS
|
||||||
# Multicast DNS causes single name resolution to hang and prevents libvirt NSS from functioning
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/322022
|
|
||||||
extraConfig = "MulticastDNS=false"; # mDNS
|
|
||||||
llmnr = "false";
|
|
||||||
|
|
||||||
# https://controld.com/free-dns
|
# https://controld.com/free-dns
|
||||||
#?? host verify.controld.com
|
#?? host verify.controld.com
|
||||||
|
@ -100,7 +97,6 @@ in {
|
||||||
"mymachines"
|
"mymachines"
|
||||||
"libvirt_guest"
|
"libvirt_guest"
|
||||||
"libvirt"
|
"libvirt"
|
||||||
#// "wins"
|
|
||||||
"resolve"
|
"resolve"
|
||||||
"dns"
|
"dns"
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue