meow
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ modules, ... }:
|
||||
{
|
||||
{modules, ...}: {
|
||||
modules.dunst = {
|
||||
homeManager = {
|
||||
services.dunst = {
|
||||
|
||||
+29
-5
@@ -1,5 +1,12 @@
|
||||
{ modules, ... }:
|
||||
{
|
||||
modules,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
flake-file.inputs = {
|
||||
direnv-instant.url = "github:Mic92/direnv-instant";
|
||||
};
|
||||
modules.fish = {
|
||||
nixos = {
|
||||
programs.fish.enable = true;
|
||||
@@ -7,8 +14,13 @@
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ inputs.direnv-instant.homeModules.direnv-instant ];
|
||||
programs.direnv-instant.enable = true;
|
||||
home.shell.enableFishIntegration = true;
|
||||
home.packages = [ pkgs.nix-output-monitor ];
|
||||
home.packages = [
|
||||
pkgs.nix-output-monitor
|
||||
# pkgs.devenv
|
||||
];
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
@@ -18,12 +30,24 @@
|
||||
set -g theme_display_user yes
|
||||
set -g fish_color_autosuggestion 6F6578
|
||||
alias nik 'nix'
|
||||
|
||||
if not set -q TMUX
|
||||
set -gx COLORTERM truecolor
|
||||
end
|
||||
'';
|
||||
# alias nos 'sudo echo; sudo nixos-rebuild switch --flake .#${aspect-name} --log-format internal-json -v &| nom --json'
|
||||
# alias hms 'home-manager switch --flake .#${aspect-name} --log-format internal-json -v &| nom --json'
|
||||
interactiveShellInit = ''
|
||||
# direnv-instant registers its hook on both fish_prompt and PWD,
|
||||
# causing double execution on every cd. Re-register on PWD only.
|
||||
functions --erase _direnv_hook
|
||||
function _direnv_hook --on-variable PWD
|
||||
set -gx DIRENV_INSTANT_SHELL fish
|
||||
set -gx DIRENV_INSTANT_SHELL_PID $fish_pid
|
||||
if test "$DIRENV_INSTANT_USE_CACHE" != 0 -a -n "$__DIRENV_INSTANT_ENV_FILE" -a -f "$__DIRENV_INSTANT_ENV_FILE"
|
||||
source "$__DIRENV_INSTANT_ENV_FILE"
|
||||
end
|
||||
direnv-instant start | source
|
||||
end
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "bobthefish";
|
||||
@@ -45,7 +69,7 @@
|
||||
};
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
enableFishIntegration = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user