aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/the-meowchine/hardware-configuration.nix65
-rw-r--r--modules/user/desktop/default.nix8
-rw-r--r--modules/user/desktop/sessions/sway.nix11
3 files changed, 48 insertions, 36 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, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ modulesPath,
+ ...
+}:
{
- imports =
- [ (modulesPath + "/installer/scan/not-detected.nix")
- ];
+ imports = [
+ (modulesPath + "/installer/scan/not-detected.nix")
+ ];
- boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
+ 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."/" = {
+ 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."/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."/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."/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;
};