diff --git a/dotfiles/hyprland.conf b/dotfiles/hyprland.conf index a3f5c22..7c686eb 100644 --- a/dotfiles/hyprland.conf +++ b/dotfiles/hyprland.conf @@ -22,6 +22,7 @@ $menu = wofi --show drun # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox exec-once = waybar +exec-once = swaync ############################# ### ENVIRONMENT VARIABLES ### diff --git a/hosts/home/configuration.nix b/hosts/home/configuration.nix index 3a5f5dd..1980833 100644 --- a/hosts/home/configuration.nix +++ b/hosts/home/configuration.nix @@ -35,6 +35,8 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; networking.networkmanager.enable = true; + hardware.logitech.lcd.enable = true; + time.timeZone = "Europe/Paris"; i18n.defaultLocale = "fr_FR.UTF-8"; @@ -56,8 +58,17 @@ variant = "altgr-intl"; }; services.printing.enable = true; + services.avahi = { + enable = true; + nssmdns4 = true; + openFirewall = true; + }; # TODO Add Scanner configuration + hardware.logitech.lcd.devices = [ + "c22d" "c22e" + ]; + hardware.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { @@ -84,7 +95,7 @@ }; nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ - logiops + g15daemon ]; services.cli-environment.enable = true; diff --git a/hosts/home/home.nix b/hosts/home/home.nix index 6d6a3cc..106229a 100644 --- a/hosts/home/home.nix +++ b/hosts/home/home.nix @@ -18,6 +18,9 @@ myHome.kitty.enable = true; myHome.shell.enable = true; + # TODO Move somewhere... + programs.spotify-player.enable = true; + programs.home-manager.enable = true; home.stateVersion = "23.11"; } diff --git a/modules/home-manager/kitty.nix b/modules/home-manager/kitty.nix index 35a7af0..767e561 100644 --- a/modules/home-manager/kitty.nix +++ b/modules/home-manager/kitty.nix @@ -12,6 +12,11 @@ in { config = lib.mkIf cfg.enable { programs.kitty = lib.mkForce { enable = true; + keybindings = { + "ctrl+left" = "previous_tab"; + "ctrl+right" = "next_tab"; + "ctrl+down" = "new_tab"; + }; settings = { confirm_os_window_close = 0; dynamic_background_opacity = true; diff --git a/modules/nixos/desktop-apps.nix b/modules/nixos/desktop-apps.nix index 9042941..4c425bd 100644 --- a/modules/nixos/desktop-apps.nix +++ b/modules/nixos/desktop-apps.nix @@ -14,6 +14,9 @@ in environment.systemPackages = with pkgs; [ kitty skypeforlinux + flameshot + xsane + sane-frontends ]; programs.firefox.enable = true; }; diff --git a/modules/nixos/window-manager.nix b/modules/nixos/window-manager.nix index d9a530d..0c13cad 100644 --- a/modules/nixos/window-manager.nix +++ b/modules/nixos/window-manager.nix @@ -19,6 +19,7 @@ in dolphin waybar pavucontrol + swaynotificationcenter ]; }; }