From ee21baee745cd3728031e1b6022b39d619e1ba26 Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Mon, 15 Dec 2025 05:45:37 +0100 Subject: [PATCH] remove uncessary config, and remove .icons --- configuration.nix | 16 ---------------- home.nix | 28 ++++------------------------ 2 files changed, 4 insertions(+), 40 deletions(-) diff --git a/configuration.nix b/configuration.nix index b36a34f..ecb0c70 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,25 +8,15 @@ boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "nixos-xenon"; - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true; time.timeZone = "Europe/Oslo"; - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - - # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; console = { - #font = "Lat2-Terminus16"; keyMap = "no"; - #useXkbConfig = true; }; - # services.xserver.enable = true; - nix.settings = { pure-eval = true; experimental-features = [ @@ -36,8 +26,6 @@ use-xdg-base-directories = true; }; - # environment.pathsToLink = [ "/share/applications" "/share/xdg-desktop-portal" ]; - fonts.packages = with pkgs; [ hack-font noto-fonts-color-emoji @@ -59,9 +47,6 @@ CARGO_HOME = "${XDG_DATA_HOME}/cargo"; }; - # Enable CUPS to print documents. - # services.printing.enable = true; - services.pipewire = { enable = true; pulse.enable = true; @@ -97,7 +82,6 @@ wl-clipboard ripgrep fd - brightnessctl keepassxc btop fluffychat diff --git a/home.nix b/home.nix index f2f4d6e..0f8259c 100644 --- a/home.nix +++ b/home.nix @@ -16,11 +16,8 @@ name = "Adwaita"; package = pkgs.adwaita-icon-theme; size = 24; - x11 = { - enable = true; - defaultCursor = "Adwaita"; - }; sway.enable = true; + dotIcons.enable = false; }; services.ssh-agent.enable = true; @@ -40,10 +37,6 @@ ]; }; - programs.ssh = { - enable = true; - }; - programs.nixvim = { enable = true; colorschemes.catppuccin.enable = true; @@ -104,19 +97,6 @@ }; }; - # wayland.windowManager.hyprland = { - # enable = true; - # settings = { - # "$terminal" = "foot"; - # "$mainMod" = "SUPER"; - # bind = [ - # "$mainMod, Enter, exec, $terminal" - # "$mainMod, C, killactive," - # "$mainMod, Q, exec, hyprshutdown" - # ]; - # }; - # }; - wayland.windowManager.sway = { enable = true; config = rec { @@ -150,9 +130,9 @@ "${modifier}+Shift+e" = "exec swaymsg exit"; "XF86MonBrightnessDown" = "exec light -U 10"; "XF86MonBrightnessUp" = "exec light -A 10"; - # "XF86AudioRaiseVolume" = "exec wpctl set-sink-volume @DEFAULT_SINK@ +1%"; - # "XF86AudioLowerVolume" = "exec wpctl set-sink-volume @DEFAULT_SINK@ -1%"; - # "XF86AudioMute" = "exec wpctl set-sink-mute @DEFAULT_SINK@ toggle"; + "XF86AudioRaiseVolume" = "exec wpctl set-sink-volume @DEFAULT_SINK@ +1%"; + "XF86AudioLowerVolume" = "exec wpctl set-sink-volume @DEFAULT_SINK@ -1%"; + "XF86AudioMute" = "exec wpctl set-sink-mute @DEFAULT_SINK@ toggle"; "${modifier}+Up" = "exec light -U 10"; "${modifier}+Down" = "exec light -A 10";