Compare commits
2 commits
1bb6057a32
...
79decb1333
Author | SHA1 | Date | |
---|---|---|---|
Tigor Hutasuhut | 79decb1333 | ||
Tigor Hutasuhut | 202375815f |
|
@ -1,8 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs.nodePackages_latest; [
|
home.packages = with pkgs.nodePackages_latest; [
|
||||||
nodejs
|
nodejs
|
||||||
pnpm
|
pnpm
|
||||||
prettier
|
prettier
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.sessionPath = [ "${config.home.homeDirectory}/.local/npm/bin" ];
|
||||||
|
|
||||||
|
home.file.".npmrc".text =
|
||||||
|
# ini
|
||||||
|
''
|
||||||
|
prefix=${config.home.homeDirectory}/.local/npm
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,27 @@ in
|
||||||
programs.zellij.enable = true;
|
programs.zellij.enable = true;
|
||||||
programs.zellij.package = unstable.zellij;
|
programs.zellij.package = unstable.zellij;
|
||||||
|
|
||||||
|
systemd.user = {
|
||||||
|
services.zellij-cleanup = {
|
||||||
|
Service = {
|
||||||
|
Description = "Zellij cleanup killed sessions";
|
||||||
|
ExecStart = "${unstable.zellij}/bin/zellij delete-all-sessions --yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
timers.zellij-cleanup = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Zellij cleanup killed sessions";
|
||||||
|
};
|
||||||
|
Timer = {
|
||||||
|
OnCalendar = "*-*-* 4:00:00";
|
||||||
|
Persistent = true;
|
||||||
|
};
|
||||||
|
Install = {
|
||||||
|
WantedBy = [ "timers.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Uses initExtraFirst instead of initExtra
|
# Uses initExtraFirst instead of initExtra
|
||||||
# to avoid loading of zsh plugins before zellij loads.
|
# to avoid loading of zsh plugins before zellij loads.
|
||||||
#
|
#
|
||||||
|
|
|
@ -18,7 +18,7 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
monitors = [
|
monitors = [
|
||||||
"desc:${primaryMonitor},3440x1440@165,0x0,1"
|
"desc:${primaryMonitor},3440x1440@165,0x0,1"
|
||||||
"desc:${secondaryMonitor},2560x1440@75,440x-1440,1"
|
"desc:${secondaryMonitor},2560x1440@75,3440x0,1"
|
||||||
];
|
];
|
||||||
workspaces = [
|
workspaces = [
|
||||||
"1, monitor:desc:${primaryMonitor}, default:true"
|
"1, monitor:desc:${primaryMonitor}, default:true"
|
||||||
|
|
Loading…
Reference in a new issue