From c9db8582b4fff8d0f2da7c7637bef9d2c894a011 Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Sun, 16 Jun 2024 18:05:17 +0200 Subject: [PATCH 1/2] formatting --- hosts/cube-hardware-configuration.nix | 33 +++++++++++++++------------ 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/hosts/cube-hardware-configuration.nix b/hosts/cube-hardware-configuration.nix index cbacf92..9cfc148 100644 --- a/hosts/cube-hardware-configuration.nix +++ b/hosts/cube-hardware-configuration.nix @@ -6,32 +6,37 @@ { imports = [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot = { + initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + initrd.kernelModules = [ ]; + kernelModules = [ + "kvm-amd" + "v4l2loopback" + ]; + extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ]; + }; fileSystems."/" = { device = "/dev/disk/by-uuid/f0a69b93-3fdc-48ad-a288-a12ce1e3a205"; - fsType = "ext4"; - }; + fsType = "ext4"; + }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/0428-C12E"; - fsType = "vfat"; - }; + fsType = "vfat"; + }; fileSystems."/storage/family" = { device = "/dev/disk/by-uuid/896c11dc-d275-4992-99e6-fddc394a7bf1"; - fsType = "xfs"; - }; - + fsType = "xfs"; + }; + fileSystems."/storage/muhh" = { device = "/dev/disk/by-uuid/8b716713-359b-4bac-8951-a35405dccd4c"; - fsType = "xfs"; - }; + fsType = "xfs"; + }; swapDevices = [ ]; From c50c81cf2f0097e42eaa9b3f94b39564b036e3f0 Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Sun, 16 Jun 2024 18:06:04 +0200 Subject: [PATCH 2/2] switch to new launcher, terminal style --- home.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/home.nix b/home.nix index 47daa24..a69f3bf 100644 --- a/home.nix +++ b/home.nix @@ -52,6 +52,8 @@ via wget wl-clipboard + wl-mirror + sway-launcher-desktop xdg-utils zellij zulip @@ -495,6 +497,16 @@ smart_gaps inverse_outer ''; config = { + window = { + commands = [ + { + command = "floating enable, sticky enable, resize set 20 ppt 40 ppt, border pixel 10"; + criteria = { + app_id = "^launcher"; + }; + } + ]; + }; gaps = { inner = 50; vertical = 100; @@ -527,6 +539,7 @@ "XF86AudioNext" = "exec playerctl next"; "XF86AudioPrev" = "exec playerctl previous"; }; + menu = "kitty --app-id launcher -e sway-launcher-desktop"; modifier = "Mod4"; output = { DP-1 = {