mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 20:33:55 -05:00
home: bash -> shell + zsh + oh-my-posh
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
aly: switch to zsh
This commit is contained in:
parent
1fb1be721c
commit
ea4cfea175
|
@ -2,18 +2,18 @@
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty
|
./alacritty
|
||||||
./backblaze
|
./backblaze
|
||||||
./bash
|
|
||||||
./chromium
|
./chromium
|
||||||
./emacs
|
./emacs
|
||||||
./fastfetch
|
./fastfetch
|
||||||
./firefox
|
./firefox
|
||||||
./fuzzel
|
./fuzzel
|
||||||
./helix
|
./helix
|
||||||
./kitty
|
|
||||||
./keepassxc
|
./keepassxc
|
||||||
|
./kitty
|
||||||
./librewolf
|
./librewolf
|
||||||
./nemo
|
./nemo
|
||||||
./rofi
|
./rofi
|
||||||
|
./shell
|
||||||
./swaylock
|
./swaylock
|
||||||
./thunar
|
./thunar
|
||||||
./tmux
|
./tmux
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
config = lib.mkIf config.ar.home.apps.bash.enable {
|
config = lib.mkIf config.ar.home.apps.shell.enable {
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
cat = lib.getExe pkgs.bat;
|
cat = lib.getExe pkgs.bat;
|
||||||
grep = lib.getExe config.programs.ripgrep.package;
|
grep = lib.getExe config.programs.ripgrep.package;
|
||||||
|
@ -45,10 +45,30 @@
|
||||||
tmux.enableShellIntegration = true;
|
tmux.enableShellIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
oh-my-posh = {
|
||||||
|
enable = true;
|
||||||
|
useTheme = "zash";
|
||||||
|
};
|
||||||
|
|
||||||
ripgrep = {
|
ripgrep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
arguments = ["--pretty"];
|
arguments = ["--pretty"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zsh = {
|
||||||
|
enable = true;
|
||||||
|
autocd = true;
|
||||||
|
autosuggestion.enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
enableVteIntegration = true;
|
||||||
|
historySubstringSearch.enable = true;
|
||||||
|
|
||||||
|
history = {
|
||||||
|
expireDuplicatesFirst = true;
|
||||||
|
extended = true;
|
||||||
|
ignoreAllDups = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -27,8 +27,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
bash.enable = lib.mkEnableOption "Bash defaults.";
|
|
||||||
|
|
||||||
chromium = {
|
chromium = {
|
||||||
enable = lib.mkEnableOption "Chromium-based browser with default extensions.";
|
enable = lib.mkEnableOption "Chromium-based browser with default extensions.";
|
||||||
package = lib.mkPackageOption pkgs "brave" {};
|
package = lib.mkPackageOption pkgs "brave" {};
|
||||||
|
@ -61,6 +59,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
rofi.enable = lib.mkEnableOption "Rofi launcher.";
|
rofi.enable = lib.mkEnableOption "Rofi launcher.";
|
||||||
|
shell.enable = lib.mkEnableOption "Shell with defaults.";
|
||||||
swaylock.enable = lib.mkEnableOption "Swaylock screen locker.";
|
swaylock.enable = lib.mkEnableOption "Swaylock screen locker.";
|
||||||
|
|
||||||
thunar.enable = lib.mkOption {
|
thunar.enable = lib.mkOption {
|
||||||
|
|
|
@ -54,7 +54,7 @@ in {
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
color.ui = true;
|
color.ui = true;
|
||||||
core.editor = "${lib.getExe unstable.zed-editor} --wait";
|
core.editor = "${lib.getExe config.programs.vscode.package} --wait";
|
||||||
github.user = "alyraffauf";
|
github.user = "alyraffauf";
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
};
|
};
|
||||||
|
@ -63,11 +63,6 @@ in {
|
||||||
gitui.enable = true;
|
gitui.enable = true;
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
||||||
oh-my-posh = {
|
|
||||||
enable = true;
|
|
||||||
useTheme = "zash";
|
|
||||||
};
|
|
||||||
|
|
||||||
rbw = {
|
rbw = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.rbw;
|
package = pkgs.rbw;
|
||||||
|
@ -90,13 +85,13 @@ in {
|
||||||
keyFile = config.age.secrets.backblazeKey.path;
|
keyFile = config.age.secrets.backblazeKey.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
bash.enable = true;
|
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
fastfetch.enable = true;
|
fastfetch.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
helix.enable = true;
|
helix.enable = true;
|
||||||
keepassxc.enable = true;
|
keepassxc.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
shell.enable = true;
|
||||||
tmux.enable = true;
|
tmux.enable = true;
|
||||||
vsCodium.enable = true;
|
vsCodium.enable = true;
|
||||||
yazi.enable = true;
|
yazi.enable = true;
|
||||||
|
|
|
@ -3,11 +3,7 @@ self: {
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
unstable = import self.inputs.nixpkgs-unstable {
|
|
||||||
system = pkgs.system;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
imports = [self.homeManagerModules.default];
|
imports = [self.homeManagerModules.default];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
@ -64,10 +60,10 @@ in {
|
||||||
|
|
||||||
ar.home = {
|
ar.home = {
|
||||||
apps = {
|
apps = {
|
||||||
bash.enable = true;
|
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
shell.enable = true;
|
||||||
vsCodium.enable = true;
|
vsCodium.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
@ -29,6 +30,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
shell = pkgs.zsh;
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,6 +5,8 @@ self: {
|
||||||
./options.nix
|
./options.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue