From 091ebc9424fea5f8f7941972f2bebcca7f35889d Mon Sep 17 00:00:00 2001 From: foosinn Date: Mon, 31 Jan 2022 14:03:22 +0100 Subject: [PATCH 1/5] add work monitor via name --- dotfiles/sway/config | 1 + 1 file changed, 1 insertion(+) diff --git a/dotfiles/sway/config b/dotfiles/sway/config index 3bddfe4..13c7ebc 100644 --- a/dotfiles/sway/config +++ b/dotfiles/sway/config @@ -26,6 +26,7 @@ input "0:0:TUXEDO_Keyboard" xkb_layout de output * bg $wallpaper fill output "BenQ Corporation BenQ SW2700 83H03922SL0" res --custom 2560x1440@60Hz +output "Dell Inc. Dell U4919DW HZVZWP2" res 5120x1440 # user keybinds bindsym $mod+Return exec $term From 00b092d3961eb3487f56a02cc45c45c829b34dea Mon Sep 17 00:00:00 2001 From: foosinn Date: Mon, 31 Jan 2022 14:03:34 +0100 Subject: [PATCH 2/5] add quick calculators --- dotfiles/sway/config | 4 ++++ roles/desktop.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/dotfiles/sway/config b/dotfiles/sway/config index 13c7ebc..c3fae3e 100644 --- a/dotfiles/sway/config +++ b/dotfiles/sway/config @@ -39,6 +39,8 @@ bindsym $mod+o exec keepassxc bindsym $mod+z exec $lock bindsym $mod+Up exec light -A 5 bindsym $mod+Down exec light -U 5 +bindsym $mod+c exec alacritty --class float -t pyCalc -e python +bindsym $mod+i exec alacritty --class float -t insect -e insect bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png bindswitch --reload --locked lid:on output eDP-1 disable bindswitch --reload --locked lid:off output eDP-1 enable @@ -47,6 +49,8 @@ bindswitch --reload --locked lid:off output eDP-1 enable for_window [app_id="org.keepassxc.KeePassXC"] floating enable for_window [title="Firefox — Sharing Indicator"] floating enable for_window [title="Picture-in-Picture"] floating enable +for_window [title="pyCalc"] floating enable +for_window [title="insect"] floating enable # font font Cascadia Code 10 diff --git a/roles/desktop.nix b/roles/desktop.nix index efbfc06..814a3f3 100644 --- a/roles/desktop.nix +++ b/roles/desktop.nix @@ -121,6 +121,7 @@ in { mpv mumble neofetch + nodePackages.insect pavucontrol pcmanfm pulseeffects-pw From a71dd12124b437a917e4061bd90e9a28a3a81330 Mon Sep 17 00:00:00 2001 From: foosinn Date: Mon, 31 Jan 2022 14:03:51 +0100 Subject: [PATCH 3/5] group autostarts --- dotfiles/sway/config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dotfiles/sway/config b/dotfiles/sway/config index c3fae3e..2e6775e 100644 --- a/dotfiles/sway/config +++ b/dotfiles/sway/config @@ -154,12 +154,6 @@ bar { include /etc/sway/config.d/* -exec mako --border-color=#cc6666 \ - --background-color=#2d2a2eee -exec emacs --daemon -exec swayidle before-sleep "$lock" -exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 - set $gnome-schema org.gnome.desktop.interface exec_always { gsettings set $gnome-schema gtk-theme 'Arc-Dark' @@ -167,6 +161,12 @@ exec_always { gsettings set $gnome-schema cursor-theme 'Capitaine Cursors - White' } +# autostarts +exec mako --border-color=#cc6666 \ + --background-color=#2d2a2eee +exec emacs --daemon +exec swayidle before-sleep "$lock" +exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1 # pastebin exec wl-paste --primary -t text --watch clipman store From ba1a15b95357453df2a7ab0ec3119785d0156054 Mon Sep 17 00:00:00 2001 From: foosinn Date: Mon, 31 Jan 2022 14:04:01 +0100 Subject: [PATCH 4/5] kind is nice for local testing --- roles/admin.nix | 1 + roles/work.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/roles/admin.nix b/roles/admin.nix index 8ee23f2..814c79d 100644 --- a/roles/admin.nix +++ b/roles/admin.nix @@ -8,6 +8,7 @@ in { dnsutils dogdns k9s + kind kubectl kubeseal pwgen diff --git a/roles/work.nix b/roles/work.nix index 19830a0..917c586 100644 --- a/roles/work.nix +++ b/roles/work.nix @@ -13,8 +13,12 @@ in { networking.extraHosts = '' 10.100.7.11 mon.netzmarkt.de + 85.10.233.162 live.bonedo.de 172.20.0.2 hubble.kind + 172.20.0.2 dashboard.kind + 172.20.0.2 grafana.kind + 172.20.0.2 alert.kind ''; environment.systemPackages = with pkgs; [ From 0ff07ffde9adabcc134a23e8c97820be4c9ae585 Mon Sep 17 00:00:00 2001 From: foosinn Date: Mon, 31 Jan 2022 14:04:13 +0100 Subject: [PATCH 5/5] better locales --- roles/base.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/base.nix b/roles/base.nix index 027eb8c..c0a13d0 100644 --- a/roles/base.nix +++ b/roles/base.nix @@ -146,4 +146,19 @@ in { frequent = 8; monthly = 6; }; + + i18n = { + defaultLocale = "en_US.UTF-8"; + extraLocaleSettings = { + LC_TIME = "de_DE.UTF-8"; + LC_NUMERIC = "de_DE.UTF-8"; + LC_PAPER = "de_DE.UTF-8"; + LC_MONETARY = "de_DE.UTF-8"; + LC_MEASUREMENT = "de_DE.UTF-8"; + LC_NAME = "de_DE.UTF-8"; + LC_TELEPHONE = "de_DE.UTF-8"; + LC_IDENTIFICATION = "de_DE.UTF-8"; + }; + }; + }