mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-24 05:51:46 +02:00
Add shortcut to neovim, add gnome keyring and seahorse
This commit is contained in:
parent
cf79f8153e
commit
71ce4a2588
@ -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;
|
||||
|
@ -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 "---"
|
||||
|
@ -85,6 +85,7 @@ in {
|
||||
set noshowmode
|
||||
set showtabline=2
|
||||
colorscheme base16-${theme}
|
||||
inoremap jj <ESC>
|
||||
'';
|
||||
|
||||
keymaps = [
|
||||
|
@ -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;
|
||||
|
@ -25,6 +25,7 @@
|
||||
".cache"
|
||||
".ssh"
|
||||
".config/discord"
|
||||
".config/obs-studio"
|
||||
];
|
||||
files = [
|
||||
];
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user