diff --git a/config/home/packages.nix b/config/home/packages.nix index d537977..0966bc7 100644 --- a/config/home/packages.nix +++ b/config/home/packages.nix @@ -23,7 +23,7 @@ in { (import ./../scripts/web-search.nix { inherit pkgs; }) (import ./../scripts/rofi-launcher.nix { inherit pkgs; }) (import ./../scripts/screenshootin.nix { inherit pkgs; }) -# (import ./../scripts/zcc.nix { inherit pkgs; }) + (import ./../scripts/zcc.nix { inherit pkgs; }) ]; programs.gh.enable = true; diff --git a/config/scripts/zcc.nix b/config/scripts/zcc.nix index 42edc82..fe6f4ac 100644 --- a/config/scripts/zcc.nix +++ b/config/scripts/zcc.nix @@ -7,7 +7,7 @@ pkgs.writeShellScriptBin "zcc" '' if [ "$#" -eq 0 ]; then echo "The ZaneyOS Control Center requires an option like 'zcc [OPTION]'." elif [ "$#" -eq 1 ]; then - if [ "$ZANEYOS" = true ]; then + if [ "$ZANEYOS" != /dev/null ]; then choice="$1" if [[ "$choice" = "update" ]]; then # Add your update logic here @@ -78,7 +78,7 @@ pkgs.writeShellScriptBin "zcc" '' # Prompt for updating flake.nix echo "---" read -p "Do you want to update flake? [Y/n]: " update_flake - update_flake=${update_flake:-Y} # Set Y as default option + update_flake=''${update_flake:-Y} # Set Y as default option if [[ $update_flake == [Yy] ]]; then # Run flake-update echo "---" @@ -87,7 +87,7 @@ pkgs.writeShellScriptBin "zcc" '' # Prompt for system rebuild echo "---" read -p "Do you want to rebuild the system? [Y/n]: " rebuild_system - rebuild_system=${rebuild_system:-Y} # Set Y as default option + rebuild_system=''${rebuild_system:-Y} # Set Y as default option if [[ $rebuild_system == [Yy] ]]; then # Run flake-rebuild echo "---" diff --git a/config/system/neovim.nix b/config/system/neovim.nix index 2d7acaa..91e7920 100644 --- a/config/system/neovim.nix +++ b/config/system/neovim.nix @@ -85,6 +85,7 @@ in { set noshowmode set showtabline=2 colorscheme base16-${theme} + inoremap jj ''; keymaps = [ diff --git a/config/system/packages.nix b/config/system/packages.nix index f2bf7d3..c0c7344 100644 --- a/config/system/packages.nix +++ b/config/system/packages.nix @@ -17,6 +17,7 @@ programs.steam.gamescopeSession.enable = true; programs.dconf.enable = true; + programs.seahorse.enable=true; programs.hyprland = { enable = true; package = inputs.hyprland.packages.${pkgs.system}.hyprland; diff --git a/config/system/persistence.nix b/config/system/persistence.nix index 2d02cdb..ec4d695 100644 --- a/config/system/persistence.nix +++ b/config/system/persistence.nix @@ -25,6 +25,7 @@ ".cache" ".ssh" ".config/discord" + ".config/obs-studio" ]; files = [ ]; diff --git a/config/system/services.nix b/config/system/services.nix index c3d43f0..e6a1a2a 100644 --- a/config/system/services.nix +++ b/config/system/services.nix @@ -27,6 +27,7 @@ programs.thunar.enable = true; services.gvfs.enable = true; services.tumbler.enable = true; + services.gnome.gnome-keyring.enable=true; hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot services.blueman.enable = true;