mirror of https://gitlab.crans.org/nounous/nixos
Perseverance : init
parent
a4ae2ea552
commit
b849106849
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./perseverance.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "perseverance";
|
||||||
|
boot.loader.grub.devices = [ "/dev/sda" ];
|
||||||
|
|
||||||
|
security.sudo.extraRule = [
|
||||||
|
{
|
||||||
|
group = [ "_user" ];
|
||||||
|
commands = [ "ALL" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
system.stateVersion = "26.05";
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
name = "perseverance";
|
||||||
|
description = "Serveur de secours";
|
||||||
|
id = 137;
|
||||||
|
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
adm.enable = true;
|
||||||
|
srv-nat.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
homeNounou.enable = false;
|
||||||
|
|
||||||
|
users.root.passwordFile = ../../secrets/apprentix/root.age;
|
||||||
|
|
||||||
|
resticClient.enable = false;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue