Compare commits
3 commits
6f64840eb1
...
1a931b76bd
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a931b76bd | |||
| efbbfecb2c | |||
| 61e348a83f |
5 changed files with 7 additions and 7 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./global
|
./global
|
||||||
|
./features/cli
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set -g status on
|
set -g status off
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
3
justfile
3
justfile
|
|
@ -8,5 +8,4 @@ switch *ARGS:
|
||||||
sudo nixos-rebuild switch --flake .#{{ARGS}}
|
sudo nixos-rebuild switch --flake .#{{ARGS}}
|
||||||
|
|
||||||
deploy *ARGS:
|
deploy *ARGS:
|
||||||
nixos-rebuild switch --flake .#{{ARGS}} --target-host {{ARGS}} --use-remote-sudo
|
nixos-rebuild switch -S --flake .#{{ARGS}} --target-host {{ARGS}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,6 @@
|
||||||
oci-containers.backend = "docker";
|
oci-containers.backend = "docker";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Required for smooth remote deployments
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@
|
||||||
config = builtins.readFile ./inspircd.conf;
|
config = builtins.readFile ./inspircd.conf;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Ensure log directory exists
|
||||||
|
systemd.services.inspircd.serviceConfig.LogsDirectory = "inspircd";
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"inspircd/inspircd.motd".source = ./inspircd.motd;
|
"inspircd/inspircd.motd".source = ./inspircd.motd;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -589,7 +589,7 @@
|
||||||
# The following log tag is highly default and uncustomised. It is recommended you
|
# The following log tag is highly default and uncustomised. It is recommended you
|
||||||
# sort out your own log tags. This is just here so you get some output.
|
# sort out your own log tags. This is just here so you get some output.
|
||||||
|
|
||||||
<log method="file" type="* -USERINPUT -USEROUTPUT" level="default" target="ircd.log">
|
<log method="file" type="* -USERINPUT -USEROUTPUT" level="default" target="/var/log/inspircd/ircd.log">
|
||||||
|
|
||||||
#-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
|
#-#-#-#-#-#-#-#-#-#-#-#-#- WHOWAS OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#
|
||||||
# #
|
# #
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue