From 335e8eb3c5a63ceb09a6f713e2b58dd4a2fb0ba1 Mon Sep 17 00:00:00 2001 From: Rosa Date: Thu, 26 Mar 2026 08:17:43 -0400 Subject: remove redundant window rule --- hosts/the-meowchine/hardware-configuration.nix | 73 ++++++++++++++++---------- modules/user/desktop/default.nix | 8 ++- modules/user/desktop/sessions/sway.nix | 11 +--- 3 files changed, 52 insertions(+), 40 deletions(-) diff --git a/hosts/the-meowchine/hardware-configuration.nix b/hosts/the-meowchine/hardware-configuration.nix index 2614284..b7830ed 100644 --- a/hosts/the-meowchine/hardware-configuration.nix +++ b/hosts/the-meowchine/hardware-configuration.nix @@ -1,41 +1,56 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; +{ + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ + "nvme" + "xhci_pci" + "ahci" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; - fsType = "btrfs"; - options = [ "subvol=@rootfs" ]; - }; - - fileSystems."/etc" = - { device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; - fsType = "btrfs"; - options = [ "subvol=@etc" ]; - }; - - fileSystems."/home" = - { device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; - fsType = "btrfs"; - options = [ "subvol=@homes" ]; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A8C6-E3EB"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; + fsType = "btrfs"; + options = [ "subvol=@rootfs" ]; + }; + + fileSystems."/etc" = { + device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; + fsType = "btrfs"; + options = [ "subvol=@etc" ]; + }; + + fileSystems."/home" = { + device = "/dev/disk/by-uuid/4602324b-c9d4-43f5-afb7-145d0f3bddcb"; + fsType = "btrfs"; + options = [ "subvol=@homes" ]; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/A8C6-E3EB"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" + ]; + }; swapDevices = [ ]; diff --git a/modules/user/desktop/default.nix b/modules/user/desktop/default.nix index 7a117b4..f1ea112 100644 --- a/modules/user/desktop/default.nix +++ b/modules/user/desktop/default.nix @@ -1,4 +1,10 @@ -{ config, lib, options, pkgs, ... }: +{ + config, + lib, + options, + pkgs, + ... +}: { imports = [ ./apps diff --git a/modules/user/desktop/sessions/sway.nix b/modules/user/desktop/sessions/sway.nix index 9e0a78f..e0037dd 100644 --- a/modules/user/desktop/sessions/sway.nix +++ b/modules/user/desktop/sessions/sway.nix @@ -228,16 +228,7 @@ seat."seat0".xcursor_theme = "catppuccin-mocha-dark-cursors 24"; window = { - commands = [ - { - command = "border pixel 2"; - criteria = { - app_id = ".*"; - floating = true; - }; - } - ]; - + commands = []; titlebar = false; }; -- cgit v1.3.1