Add shortcut to neovim, add gnome keyring and seahorse

This commit is contained in:
Tyler Kelley 2024-02-18 17:24:56 -06:00
parent cf79f8153e
commit 71ce4a2588
6 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@ in {
(import ./../scripts/web-search.nix { inherit pkgs; }) (import ./../scripts/web-search.nix { inherit pkgs; })
(import ./../scripts/rofi-launcher.nix { inherit pkgs; }) (import ./../scripts/rofi-launcher.nix { inherit pkgs; })
(import ./../scripts/screenshootin.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; programs.gh.enable = true;

View File

@ -7,7 +7,7 @@ pkgs.writeShellScriptBin "zcc" ''
if [ "$#" -eq 0 ]; then if [ "$#" -eq 0 ]; then
echo "The ZaneyOS Control Center requires an option like 'zcc [OPTION]'." echo "The ZaneyOS Control Center requires an option like 'zcc [OPTION]'."
elif [ "$#" -eq 1 ]; then elif [ "$#" -eq 1 ]; then
if [ "$ZANEYOS" = true ]; then if [ "$ZANEYOS" != /dev/null ]; then
choice="$1" choice="$1"
if [[ "$choice" = "update" ]]; then if [[ "$choice" = "update" ]]; then
# Add your update logic here # Add your update logic here
@ -78,7 +78,7 @@ pkgs.writeShellScriptBin "zcc" ''
# Prompt for updating flake.nix # Prompt for updating flake.nix
echo "---" echo "---"
read -p "Do you want to update flake? [Y/n]: " update_flake 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 if [[ $update_flake == [Yy] ]]; then
# Run flake-update # Run flake-update
echo "---" echo "---"
@ -87,7 +87,7 @@ pkgs.writeShellScriptBin "zcc" ''
# Prompt for system rebuild # Prompt for system rebuild
echo "---" echo "---"
read -p "Do you want to rebuild the system? [Y/n]: " rebuild_system 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 if [[ $rebuild_system == [Yy] ]]; then
# Run flake-rebuild # Run flake-rebuild
echo "---" echo "---"

View File

@ -85,6 +85,7 @@ in {
set noshowmode set noshowmode
set showtabline=2 set showtabline=2
colorscheme base16-${theme} colorscheme base16-${theme}
inoremap jj <ESC>
''; '';
keymaps = [ keymaps = [

View File

@ -17,6 +17,7 @@
programs.steam.gamescopeSession.enable = true; programs.steam.gamescopeSession.enable = true;
programs.dconf.enable = true; programs.dconf.enable = true;
programs.seahorse.enable=true;
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland; package = inputs.hyprland.packages.${pkgs.system}.hyprland;

View File

@ -25,6 +25,7 @@
".cache" ".cache"
".ssh" ".ssh"
".config/discord" ".config/discord"
".config/obs-studio"
]; ];
files = [ files = [
]; ];

View File

@ -27,6 +27,7 @@
programs.thunar.enable = true; programs.thunar.enable = true;
services.gvfs.enable = true; services.gvfs.enable = true;
services.tumbler.enable = true; services.tumbler.enable = true;
services.gnome.gnome-keyring.enable=true;
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
services.blueman.enable = true; services.blueman.enable = true;