formatting

This commit is contained in:
Rouven Seifert 2023-04-12 22:09:46 +02:00
parent d8f9425bed
commit 7d0571f4a9
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
10 changed files with 39 additions and 34 deletions

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
[
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
@ -14,12 +15,14 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/da06b92f-6eb6-45d5-9409-4d897a40d70e";
{
device = "/dev/disk/by-uuid/da06b92f-6eb6-45d5-9409-4d897a40d70e";
fsType = "ext4";
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/B677-3035";
{
device = "/dev/disk/by-uuid/B677-3035";
fsType = "vfat";
};

View file

@ -17,7 +17,7 @@
DHCP = "ipv4";
IPv6AcceptRA = "yes";
Address = "2a01:4f8:c012:49de::1/64";
Gateway="fe80::1";
Gateway = "fe80::1";
};
};
};

View file

@ -1,4 +1,3 @@
{
fileSystems."/mnt/backup" =
{
@ -14,7 +13,7 @@
fsType = "btrfs";
options = [ "compress=zstd" "noatime" ];
};
services.btrbk = {
instances."nuc-to-disk".settings = {
snapshot_preserve = "14d";

View file

@ -1,9 +1,9 @@
{config, ...}:
{ config, ... }:
let
domain = "cache.rfive.de";
in
{
sops.secrets."nix-serve/secretkey" = {};
sops.secrets."nix-serve/secretkey" = { };
services.nix-serve = {
enable = true;
secretKeyFile = config.sops.secrets."nix-serve/secretkey".path;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ...}:
{ config, pkgs, ... }:
{
services.greetd = {
enable = true;

View file

@ -11,7 +11,8 @@
owner = config.users.users.systemd-network.name;
};
};
networking = { useNetworkd = true;
networking = {
useNetworkd = true;
hostName = "thinkpad";
enableIPv6 = true;
wireless = {