Compare commits
2 Commits
7c13997caa
...
17e3d37989
Author | SHA1 | Date | |
---|---|---|---|
17e3d37989 | |||
db37daab95 |
20
hosts/palladium/configuration.nix
Normal file
20
hosts/palladium/configuration.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../../configuration/common
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "palladium";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.enp3s0.useDHCP = true;
|
||||
|
||||
system.stateVersion = "21.03";
|
||||
|
||||
}
|
34
hosts/palladium/hardware-configuration.nix
Normal file
34
hosts/palladium/hardware-configuration.nix
Normal file
@ -0,0 +1,34 @@
|
||||
# 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 + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/b217f1e1-1337-4ef0-bad5-15829ba32c7a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/7A6B-3444";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/palladium" =
|
||||
{ device = "/dev/disk/by-uuid/f20d20ca-6be5-4b16-81fe-e66f31ffd108";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
}
|
22
hosts/web-2/ard-erothek.nix
Normal file
22
hosts/web-2/ard-erothek.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"www.ard-erothek.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
return = "301 https://ard-erothek.de$request_uri";
|
||||
};
|
||||
};
|
||||
|
||||
"ard-erothek.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = fetchGit {
|
||||
url = "https://git.clerie.de/clerie/ard-erothek.de.git";
|
||||
rev = "f030a96a1be550e600e029bf1addd009a89edcce";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
../../configuration/common
|
||||
./ard-erothek.nix
|
||||
./bubblesort.nix
|
||||
./clerie.nix
|
||||
./gitea.nix
|
||||
|
Loading…
Reference in New Issue
Block a user