Merge pull request 'Updates for work' (#3) from lytedev-divvy/nix:main into main

Reviewed-on: #3
This commit is contained in:
Daniel Flanagan 2024-02-09 10:33:05 -06:00
commit c15642693e
5 changed files with 14 additions and 11 deletions

View file

@ -119,7 +119,7 @@
]; ];
}; };
workm1 = let workm1 = let
system = "aarch64-linux"; system = "aarch64-darwin";
in in
home-manager.lib.homeManagerConfiguration { home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};

View file

@ -7,11 +7,4 @@
kitty kitty
wezterm wezterm
]; ];
home.pointerCursor = {
name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors;
size = 64; # TODO: this doesn't seem to work -- at least in Sway
# some icons are also missing (hand2?)
};
} }

View file

@ -66,6 +66,10 @@ set -U fish_pager_color_prefix blue # the string being completed
set -U fish_pager_color_progress white\x1e\x2d\x2dbackground\x3d333 # status indicator at the bottom set -U fish_pager_color_progress white\x1e\x2d\x2dbackground\x3d333 # status indicator at the bottom
# set -U fish_pager_color_secondary \x2d\x2dbackground\x3d181818 # alternating rows # set -U fish_pager_color_secondary \x2d\x2dbackground\x3d181818 # alternating rows
if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
end
function has_command --wraps=command --description "Exits non-zero if the given command cannot be found" function has_command --wraps=command --description "Exits non-zero if the given command cannot be found"
command --quiet --search $argv[1] command --quiet --search $argv[1]
end end
@ -74,6 +78,6 @@ if has_command rtx
rtx activate fish | source rtx activate fish | source
end end
for dir in ~/.cargo/bin ~/.nimble/bin ~/.local/bin for dir in ~/.cargo/bin ~/.nimble/bin ~/.local/bin /opt/homebrew/bin
fish_add_path $dir test -d $dir && fish_add_path $dir
end end

View file

@ -22,4 +22,11 @@
}; };
}; };
}; };
home.pointerCursor = {
name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors;
size = 64; # TODO: this doesn't seem to work -- at least in Sway
# some icons are also missing (hand2?)
};
} }

View file

@ -1,6 +1,5 @@
{outputs, ...}: { {outputs, ...}: {
imports = with outputs.homeManagerModules; [ imports = with outputs.homeManagerModules; [
common
desktop desktop
pass pass
]; ];