init: public
This commit is contained in:
26
config/base.nix
Normal file
26
config/base.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ lib, hostname, ... }:
|
||||
{
|
||||
environment.etc.issue.text = "\\e{lightcyan}\\S\\e{reset} Login (\\l)\n\n";
|
||||
networking.hostName = hostname;
|
||||
system.stateVersion = "24.11";
|
||||
systemd.services."systemd-machine-id-commit".enable = lib.mkForce false;
|
||||
|
||||
my = {
|
||||
home = {
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
home.stateVersion = "24.11";
|
||||
};
|
||||
|
||||
xdg.enable = true;
|
||||
persist = {
|
||||
nixosDirs = [
|
||||
"/root"
|
||||
"/var"
|
||||
];
|
||||
nixosFiles = [
|
||||
"/etc/machine-id"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user