CLEAN: nix develop
This commit is contained in:
parent
daeb15f821
commit
c495445e91
22 changed files with 439 additions and 423 deletions
|
|
@ -8,34 +8,31 @@
|
|||
networking.hostName = "pennsardin";
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.swraid.enable = true ;
|
||||
boot.swraid.enable = true;
|
||||
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/b1a1ae71-4277-45d5-a3d2-f49354f263d4";
|
||||
fsType = "ext4";
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/b1a1ae71-4277-45d5-a3d2-f49354f263d4";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/1DB2-7A0F";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
"/proc" = {
|
||||
device = "proc";
|
||||
fsType = "proc";
|
||||
options = ["defaults" "hidepid=2"];
|
||||
neededForBoot = true;
|
||||
};
|
||||
"/srv/raid" = {
|
||||
device = "/dev/disk/by-uuid/85f72160-4720-463a-9dc6-7c5216733f2b";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/1DB2-7A0F";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/proc" =
|
||||
{
|
||||
device = "proc" ;
|
||||
fsType = "proc" ;
|
||||
options = [ "defaults" "hidepid=2" ];
|
||||
neededForBoot = true ;
|
||||
};
|
||||
|
||||
fileSystems."/srv/raid" =
|
||||
{ device = "/dev/disk/by-uuid/85f72160-4720-463a-9dc6-7c5216733f2b";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
users.users.lomig = {
|
||||
isNormalUser = true;
|
||||
|
|
@ -49,27 +46,27 @@
|
|||
};
|
||||
|
||||
networking = {
|
||||
useNetworkd = true ;
|
||||
firewall.allowedTCPPorts = [ 22 80 5900 5901 5902 ];
|
||||
interfaces.enp11s0.useDHCP = false ;
|
||||
useNetworkd = true;
|
||||
firewall.allowedTCPPorts = [22 80 5900 5901 5902];
|
||||
interfaces.enp11s0.useDHCP = false;
|
||||
interfaces.br0 = {
|
||||
useDHCP = false ;
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.0.2";
|
||||
prefixLength = 24 ;
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultGateway = {
|
||||
interface = "br0" ;
|
||||
address = "192.168.0.254" ;
|
||||
interface = "br0";
|
||||
address = "192.168.0.254";
|
||||
};
|
||||
nameservers = [ "192.168.0.254" "1.1.1.1" ];
|
||||
bridges.br0.interfaces = [ "enp11s0" ];
|
||||
nameservers = ["192.168.0.254" "1.1.1.1"];
|
||||
bridges.br0.interfaces = ["enp11s0"];
|
||||
};
|
||||
systemd.network = {
|
||||
enable = true ;
|
||||
enable = true;
|
||||
netdevs."br0" = {
|
||||
netdevConfig = {
|
||||
Name = "br0";
|
||||
|
|
@ -77,7 +74,7 @@
|
|||
};
|
||||
};
|
||||
networks."br0" = {
|
||||
matchConfig.Name = "br0" ;
|
||||
matchConfig.Name = "br0";
|
||||
};
|
||||
networks."enp11s0" = {
|
||||
matchConfig.Name = "enp11s0";
|
||||
|
|
@ -87,6 +84,5 @@
|
|||
|
||||
system.stateVersion = "25.05"; # pour éviter les hurlements inutiles
|
||||
}
|
||||
|
||||
# vim: set ts=2 sw=2 sts=2 et :
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue