forked from pub-solar/os
Apply treefmt
This commit is contained in:
parent
c977bfba38
commit
1d3eadb471
|
@ -132,7 +132,7 @@
|
||||||
users = digga.lib.rakeLeaves ./users;
|
users = digga.lib.rakeLeaves ./users;
|
||||||
};
|
};
|
||||||
suites = with profiles; rec {
|
suites = with profiles; rec {
|
||||||
base = [ base-user users.root users.barkeeper ];
|
base = [base-user users.root users.barkeeper];
|
||||||
|
|
||||||
pioneer-momo-koeln = base;
|
pioneer-momo-koeln = base;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
{
|
{config, ...}: {
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Changing the Caddyfile should only trigger a reload, not a restart
|
# Changing the Caddyfile should only trigger a reload, not a restart
|
||||||
systemd.services.caddy.reloadTriggers = [
|
systemd.services.caddy.reloadTriggers = [
|
||||||
config.services.caddy.configFile
|
config.services.caddy.configFile
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
@ -17,13 +19,15 @@
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
|
|
||||||
interfaces.enp1s0.ipv4.addresses = [{
|
interfaces.enp1s0.ipv4.addresses = [
|
||||||
|
{
|
||||||
address = "80.244.242.4";
|
address = "80.244.242.4";
|
||||||
prefixLength = 29;
|
prefixLength = 29;
|
||||||
}];
|
}
|
||||||
|
];
|
||||||
|
|
||||||
defaultGateway = "80.244.242.1";
|
defaultGateway = "80.244.242.1";
|
||||||
nameservers = [ "95.129.51.51" "80.244.244.244" ];
|
nameservers = ["95.129.51.51" "80.244.244.244"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ suites, ... }:
|
{suites, ...}: {
|
||||||
{
|
imports =
|
||||||
imports = [
|
[
|
||||||
./pioneer-momo-koeln.nix
|
./pioneer-momo-koeln.nix
|
||||||
] ++ suites.pioneer-momo-koeln;
|
]
|
||||||
|
++ suites.pioneer-momo-koeln;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
with lib;
|
|
||||||
with pkgs;
|
|
||||||
let
|
|
||||||
psCfg = config.pub-solar;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
with pkgs; let
|
||||||
|
psCfg = config.pub-solar;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue