Mon Jun 3 09:04:20 PM CEST 2024
This commit is contained in:
parent
063df11269
commit
36fa874bc8
|
@ -26,15 +26,7 @@ let
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(import ./common.nix { inherit inputs config pkgs; })
|
||||
./ssh
|
||||
];
|
||||
|
||||
mkTimer {
|
||||
disk_timer = mkTimer {
|
||||
name = "disk_check";
|
||||
interval = "1h";
|
||||
serviceScript = toString (pkgs.writeShellScript "disk_check" ''
|
||||
|
@ -51,5 +43,24 @@ in
|
|||
fi
|
||||
fi
|
||||
'');
|
||||
}
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
home.username = "server";
|
||||
home.homeDirectory = "/home/server";
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
settings.use-xdg-base-directories = true;
|
||||
};
|
||||
|
||||
# home.profileDirectory = "${config.xdg.stateHome}/nix/profile";
|
||||
imports = [
|
||||
(import ./common.nix { inherit inputs config pkgs; })
|
||||
./ssh
|
||||
];
|
||||
home.sessionVariables = {
|
||||
NIX_PATH = "${config.xdg.stateHome}/nix/profiles/channels/";
|
||||
LANG = "en_US.UTF-8";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ inputs, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./zsh ./git ./nvim ./email ./lf ];
|
||||
imports = [ ./zsh ./git ./nvim ./email ./lf ./tmux ];
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
targets.genericLinux.enable = true;
|
||||
|
|
|
@ -17,7 +17,7 @@ in
|
|||
{
|
||||
programs.tmux = {
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
terminal = "tmux-256color";
|
||||
terminal = "screen-256color";
|
||||
enable = true;
|
||||
clock24 = true;
|
||||
shortcut = "a";
|
||||
|
|
Loading…
Reference in New Issue