From e668b1b52580361aeab084a20bbab83cb3c1364d Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Sat, 28 Sep 2024 01:03:56 +0200 Subject: [PATCH] feat: set keybinding --- home/config/hypr/hyprland.conf | 4 ++++ home/config/waybar/style.css | 2 +- home/user/default.nix | 1 + home/user/packages.nix | 6 ++++++ home/user/programs/kitty.nix | 4 ++-- system/hosts/desktop/configuration.nix | 2 ++ system/modules/default.nix | 2 -- system/modules/{video.nix => nvidia.nix} | 0 8 files changed, 16 insertions(+), 5 deletions(-) rename system/modules/{video.nix => nvidia.nix} (100%) diff --git a/home/config/hypr/hyprland.conf b/home/config/hypr/hyprland.conf index 0207969..2987be7 100644 --- a/home/config/hypr/hyprland.conf +++ b/home/config/hypr/hyprland.conf @@ -165,6 +165,10 @@ device { # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier +$terminal = kitty +$browser = firefox +$fileManager = nautilus +$menu = rofi -show drun # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal diff --git a/home/config/waybar/style.css b/home/config/waybar/style.css index e716e0b..af3ad2c 100644 --- a/home/config/waybar/style.css +++ b/home/config/waybar/style.css @@ -75,7 +75,7 @@ color: rgb(245, 224, 220); } #network { - color: rgb(233, 229, 171); + color: rgb(198, 160, 246); } #bluetooth { color: rgb(0, 130, 252); diff --git a/home/user/default.nix b/home/user/default.nix index 3955155..029fdad 100644 --- a/home/user/default.nix +++ b/home/user/default.nix @@ -19,5 +19,6 @@ "spotify" "steam" "google-chrome" + "packer" ]; } diff --git a/home/user/packages.nix b/home/user/packages.nix index deabc4c..0ed6082 100644 --- a/home/user/packages.nix +++ b/home/user/packages.nix @@ -1,4 +1,7 @@ { pkgs, ... }: +let + netbootxyz = pkgs.callPackage pkgs.netbootxyz-efi { }; +in { home.packages = with pkgs; [ # DE @@ -43,10 +46,13 @@ # infra tio # serial device I/O tool tcpdump # network sniffer + netbootxyz kubectl kubectx helm + talosctl k9s + packer pulumi postgresql sqlite diff --git a/home/user/programs/kitty.nix b/home/user/programs/kitty.nix index 0986f28..6f65a54 100644 --- a/home/user/programs/kitty.nix +++ b/home/user/programs/kitty.nix @@ -1,7 +1,7 @@ -{ pkgs, ...}: +{ pkgs, ... }: { programs.kitty = { enable = true; font.name = "JetBrainsMono Nerd Font"; }; -} \ No newline at end of file +} diff --git a/system/hosts/desktop/configuration.nix b/system/hosts/desktop/configuration.nix index 61c86fc..b696996 100644 --- a/system/hosts/desktop/configuration.nix +++ b/system/hosts/desktop/configuration.nix @@ -3,5 +3,7 @@ ./hardware-configuration.nix ./disko.nix ../../modules + ../../modules/game.nix + ../../modules/nvidia.nix ]; } diff --git a/system/modules/default.nix b/system/modules/default.nix index 48277d6..338acfa 100644 --- a/system/modules/default.nix +++ b/system/modules/default.nix @@ -6,13 +6,11 @@ ./ca-certificates.nix ./dns.nix ./file.nix - ./game.nix ./gpg.nix ./internationalization.nix ./logind.nix ./network.nix ./nixsettings.nix - ./video.nix ./printer.nix ./security.nix ./ssh.nix diff --git a/system/modules/video.nix b/system/modules/nvidia.nix similarity index 100% rename from system/modules/video.nix rename to system/modules/nvidia.nix