Compare commits
2 Commits
eda64c4482
...
f03698c117
| Author | SHA1 | Date | |
|---|---|---|---|
| f03698c117 | |||
| b08d50f4c2 |
@@ -180,7 +180,7 @@
|
|||||||
|
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = with overlays; [ gamescope ];
|
overlays = with overlays; [];
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
|
|
||||||
home.file.".config/nvim".source = ../shared/dotfiles/nvim;
|
home.file.".config/nvim".source = ../shared/dotfiles/nvim;
|
||||||
home.file.".tmux.conf".source = ../shared/dotfiles/tmux;
|
home.file.".tmux.conf".source = ../shared/dotfiles/tmux;
|
||||||
|
home.file.".config/fish/config.fish".source = ../shared/dotfiles/fish/gui-config.fish;
|
||||||
home.file.".config/waybar".source = ./dotfiles/waybar;
|
home.file.".config/waybar".source = ./dotfiles/waybar;
|
||||||
home.file.".config/fish/config.fish".source = ./dotfiles/fish/config.fish;
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -13,30 +13,18 @@ if status is-interactive
|
|||||||
function fish_mode_prompt
|
function fish_mode_prompt
|
||||||
end
|
end
|
||||||
|
|
||||||
### Local environment variables
|
|
||||||
set -x DENO_INSTALL "/home/eesim/.deno"
|
|
||||||
|
|
||||||
direnv hook fish | source
|
direnv hook fish | source
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if status is-login
|
if status is-login
|
||||||
|
|
||||||
# SSH settings
|
|
||||||
eval (ssh-agent -c)
|
|
||||||
ssh-add /home/eesim/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# Set environment variables in /etc/profile.d/
|
|
||||||
# exec bash -c "test -e /etc/profile && source /etc/profile"
|
|
||||||
|
|
||||||
# Disable GTK portal
|
# Disable GTK portal
|
||||||
set -x GTK_USE_PORTAL "0"
|
set -x GTK_USE_PORTAL "0"
|
||||||
|
|
||||||
|
|
||||||
# Java fix
|
# Java fix
|
||||||
set -x _JAVA_AWT_WM_NONREPARENTING "1"
|
set -x _JAVA_AWT_WM_NONREPARENTING "1"
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if test (tty) = "/dev/tty1"
|
if test (tty) = "/dev/tty1"
|
||||||
|
|||||||
@@ -20,8 +20,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/nvim".source = ../shared/dotfiles/nvim;
|
home.file.".config/nvim".source = ../shared/dotfiles/nvim;
|
||||||
|
home.file.".config/fish/config.fish".source = ../shared/dotfiles/fish/gui-config.fish;
|
||||||
|
|
||||||
home.file.".config/waybar".source = ./dotfiles/waybar;
|
home.file.".config/waybar".source = ./dotfiles/waybar;
|
||||||
home.file.".config/fish/config.fish".source = ./dotfiles/fish/config.fish;
|
|
||||||
home.file.".config/alacritty/alacritty.toml".source = ./dotfiles/alacritty/alacritty.toml;
|
home.file.".config/alacritty/alacritty.toml".source = ./dotfiles/alacritty/alacritty.toml;
|
||||||
home.file.".ssh/config".source = ./dotfiles/ssh/config;
|
home.file.".ssh/config".source = ./dotfiles/ssh/config;
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
home.file.".config/nvim".source = ../shared/dotfiles/nvim;
|
home.file.".config/nvim".source = ../shared/dotfiles/nvim;
|
||||||
home.file.".tmux.conf".source = ../shared/dotfiles/tmux;
|
home.file.".tmux.conf".source = ../shared/dotfiles/tmux;
|
||||||
|
home.file.".config/fish/config.fish".source = ../shared/dotfiles/fish/cli-config.fish;
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
|||||||
28
hosts/shared/dotfiles/fish/cli-config.fish
Normal file
28
hosts/shared/dotfiles/fish/cli-config.fish
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
if status is-interactive
|
||||||
|
fish_add_path "/home/eesim/.cargo/bin/"
|
||||||
|
|
||||||
|
set fish_greeting
|
||||||
|
|
||||||
|
set fish_cursor_default block
|
||||||
|
set fish_cursor_insert line
|
||||||
|
set fish_cursor_replace_one underscore
|
||||||
|
set fish_cursor_replace underscore
|
||||||
|
set fish_cursor_external line
|
||||||
|
set fish_cursor_visual block
|
||||||
|
|
||||||
|
function fish_mode_prompt
|
||||||
|
end
|
||||||
|
|
||||||
|
direnv hook fish | source
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
if status is-login
|
||||||
|
|
||||||
|
# Disable GTK portal
|
||||||
|
set -x GTK_USE_PORTAL "0"
|
||||||
|
|
||||||
|
# Java fix
|
||||||
|
set -x _JAVA_AWT_WM_NONREPARENTING "1"
|
||||||
|
|
||||||
|
end
|
||||||
33
hosts/shared/dotfiles/fish/gui-config.fish
Normal file
33
hosts/shared/dotfiles/fish/gui-config.fish
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
if status is-interactive
|
||||||
|
fish_add_path "/home/eesim/.cargo/bin/"
|
||||||
|
|
||||||
|
set fish_greeting
|
||||||
|
|
||||||
|
set fish_cursor_default block
|
||||||
|
set fish_cursor_insert line
|
||||||
|
set fish_cursor_replace_one underscore
|
||||||
|
set fish_cursor_replace underscore
|
||||||
|
set fish_cursor_external line
|
||||||
|
set fish_cursor_visual block
|
||||||
|
|
||||||
|
function fish_mode_prompt
|
||||||
|
end
|
||||||
|
|
||||||
|
direnv hook fish | source
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
if status is-login
|
||||||
|
|
||||||
|
# Disable GTK portal
|
||||||
|
set -x GTK_USE_PORTAL "0"
|
||||||
|
|
||||||
|
# Java fix
|
||||||
|
set -x _JAVA_AWT_WM_NONREPARENTING "1"
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
if test (tty) = "/dev/tty1"
|
||||||
|
sway
|
||||||
|
end
|
||||||
|
|
||||||
Reference in New Issue
Block a user