Skip to content

Commit

Permalink
Add shortcut to neovim, add gnome keyring and seahorse
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZaney committed Feb 18, 2024
1 parent cf79f81 commit 71ce4a2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions config/scripts/zcc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 "---"
Expand All @@ -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 "---"
Expand Down
1 change: 1 addition & 0 deletions config/system/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ in {
set noshowmode
set showtabline=2
colorscheme base16-${theme}
inoremap jj <ESC>
'';

keymaps = [
Expand Down
1 change: 1 addition & 0 deletions config/system/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions config/system/persistence.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
".cache"
".ssh"
".config/discord"
".config/obs-studio"
];
files = [
];
Expand Down
1 change: 1 addition & 0 deletions config/system/services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71ce4a2

Please sign in to comment.