Compare commits
3 commits
430bafb0b2
...
a07ddd315c
| Author | SHA1 | Date | |
|---|---|---|---|
| a07ddd315c | |||
| 233581eccb | |||
| 693410597a |
4 changed files with 26 additions and 20 deletions
15
roles/common/programs/atuin.nix
Normal file
15
roles/common/programs/atuin.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{...}: {
|
||||||
|
home-manager.users.toast.programs.atuin = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
enter_accept = false;
|
||||||
|
workspaces = true;
|
||||||
|
stats = {
|
||||||
|
common_prefix = [
|
||||||
|
"sudo"
|
||||||
|
","
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
./btop.nix
|
./btop.nix
|
||||||
./helix.nix
|
./helix.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
|
./atuin.nix
|
||||||
];
|
];
|
||||||
# Some programs dont have a programs.*.enable option, so I install their package here
|
# Some programs dont have a programs.*.enable option, so I install their package here
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,3 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
programs.ssh.startAgent = true;
|
home-manager.users.toast.services.ssh-agent.enable = true;
|
||||||
/*
|
|
||||||
Home assistant added an option that does this
|
|
||||||
https://github.com/nix-community/home-manager/commit/2d9210f25ed18d5d4e11e6b886de4027c0c51a94
|
|
||||||
but since I still need to fix home-manager's envvars not applying I'll stick to the NixOS one
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
TODO: fix SSH_AUTH_SOCK not being set in Plasma
|
|
||||||
Turns out the NixOS module also has issues :3
|
|
||||||
The env is set but only in bash, not in the DE, so
|
|
||||||
keepass can't pick it up. For now I'll just set it manually
|
|
||||||
*/
|
|
||||||
home-manager.users.toast.xdg.configFile."plasma-workspace/env/ssh-agent.sh".text = ''
|
|
||||||
if [[ -z "$SSH_AUTH_SOCK" ]]; then
|
|
||||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,13 @@
|
||||||
else false;
|
else false;
|
||||||
|
|
||||||
# Celeste mod manager
|
# Celeste mod manager
|
||||||
home-manager.users.toast.services.flatpak.packages = [
|
home-manager.users.toast = {
|
||||||
"io.github.everestapi.Olympus"
|
systemd.user.tmpfiles.rules = [
|
||||||
];
|
"r '/%h/.local/share/applications/Steam Linux Runtime *.desktop'"
|
||||||
|
"r '/%h/.local/share/applications/Proton *.desktop'"
|
||||||
|
];
|
||||||
|
services.flatpak.packages = [
|
||||||
|
"io.github.everestapi.Olympus"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue