diff --git a/.gitignore b/.gitignore index 958cb85..d6a8a01 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ for_config/* home-manager/modules/custom/* nixos/configuration.nix -nixos/my.nix \ No newline at end of file +my.nix \ No newline at end of file diff --git a/home-manager/modules/hypr/hypr.nix b/home-manager/modules/hypr/hypr.nix index 6ea67f1..7180fd5 100644 --- a/home-manager/modules/hypr/hypr.nix +++ b/home-manager/modules/hypr/hypr.nix @@ -14,6 +14,7 @@ # ./hyprland/colors.nix # ./hyprland/active.nix ./hyprland/keybinds.nix # done + ./hyprland/my.nix ./hyprlock.nix # done ./hypridle.nix # done ]; diff --git a/home-manager/modules/hypr/hyprland/keybinds.nix b/home-manager/modules/hypr/hyprland/keybinds.nix index 796d2d2..afcd925 100644 --- a/home-manager/modules/hypr/hyprland/keybinds.nix +++ b/home-manager/modules/hypr/hyprland/keybinds.nix @@ -56,7 +56,8 @@ "${super}, L, exec, loginctl lock-session" '' - ${super}, Return, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm"'' + ${super}, Return, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" + '' "${super}, T, exec, telegram-desktop" '' ${super}, E, exec, ~/.config/hypr/scripts/launch_first_available.sh "nemo" "dolphin" "nautilus" "thunar" "kitty -1 zsh -c yazi"'' diff --git a/home-manager/modules/zsh/saved_modes b/home-manager/modules/zsh/saved_modes new file mode 100644 index 0000000..4a6b156 --- /dev/null +++ b/home-manager/modules/zsh/saved_modes @@ -0,0 +1,2 @@ +amnezia sudo AmneziaVPN-service & && AmneziaVPN +bat watch -n1 cat /sys/class/power_supply/BAT0/power_now diff --git a/home-manager/modules/zsh/zsh.nix b/home-manager/modules/zsh/zsh.nix index a18af57..32cf16e 100644 --- a/home-manager/modules/zsh/zsh.nix +++ b/home-manager/modules/zsh/zsh.nix @@ -21,6 +21,14 @@ home.file.".p10k.zsh".source = ./p10k.zsh; + # make it sync + # home.file.".saved_modes".source = + # config.lib.file.mkOutOfStoreSymlink ./saved_modes; + + # home.activation.linkMyFiles = config.lib.dag.entryAfter [ "writeBoundary" ] '' + # ln -s ${toString ./saved_modes} ~/.saved_modes + # ''; + programs.zsh = { enable = true; diff --git a/nixos/custom.nix b/nixos/custom.nix index 0388233..8856fd1 100644 --- a/nixos/custom.nix +++ b/nixos/custom.nix @@ -1,6 +1,14 @@ { config, pkgs, lib, ... }: { + # programs.steam = { + # enable = true; + # remotePlay.openFirewall = + # true; # Open ports in the firewall for Steam Remote Play + # dedicatedServer.openFirewall = + # true; # Open ports in the firewall for Source Dedicated Server + # }; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.gc = { automatic = true;