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 = { 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 = [ ];