mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
45 lines
1,014 B
Nix
45 lines
1,014 B
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports =
|
||
[
|
||
(modulesPath + "/profiles/qemu-guest.nix")
|
||
./hardware.nix
|
||
./home-julien.nix
|
||
];
|
||
|
||
|
||
luj = {
|
||
mediaserver.enable = true;
|
||
homepage.enable = true;
|
||
bincache = {
|
||
enable = true;
|
||
subdomain = "bin";
|
||
};
|
||
drone = {
|
||
enable = true;
|
||
subdomain = "ci";
|
||
};
|
||
status = {
|
||
enable = true;
|
||
nginx = {
|
||
enable = true;
|
||
subdomain = "status";
|
||
};
|
||
};
|
||
};
|
||
|
||
nix.maxJobs = lib.mkDefault 4;
|
||
|
||
networking.hostName = "lisa";
|
||
networking.interfaces.ens18.useDHCP = true;
|
||
networking.interfaces.ens19.useDHCP = false;
|
||
networking.interfaces.ens19.ipv6.addresses = [{
|
||
address = "2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb";
|
||
prefixLength = 120;
|
||
}];
|
||
system.stateVersion = "20.09";
|
||
}
|