style: format using nixfmt-rfc-style
All checks were successful
Flake checks / Check (pull_request) Successful in 15m44s

This commit is contained in:
teutat3s 2024-08-24 03:15:54 +02:00
parent b6070d0f75
commit 51ffa8a39a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
9 changed files with 53 additions and 44 deletions

View file

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
{
boot.loader.grub.enable = true;

View file

@ -18,9 +18,7 @@
type = "filesystem";
format = "ext4";
mountpoint = "/boot";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
luks = {
@ -60,9 +58,7 @@
type = "filesystem";
format = "xfs";
mountpoint = "/var/lib/garage/data";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
};
@ -80,9 +76,7 @@
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
swap = {
@ -97,9 +91,7 @@
type = "filesystem";
format = "btrfs";
mountpoint = "/var/lib/garage/meta";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
};

View file

@ -1,14 +1,24 @@
# 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, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];

View file

@ -18,9 +18,7 @@
type = "filesystem";
format = "ext4";
mountpoint = "/boot";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
luks = {
@ -52,9 +50,7 @@
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
swap = {
@ -69,9 +65,7 @@
type = "filesystem";
format = "xfs";
mountpoint = "/var/lib/garage/data";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
metadata = {
@ -80,9 +74,7 @@
type = "filesystem";
format = "btrfs";
mountpoint = "/var/lib/garage/meta";
mountOptions = [
"defaults"
];
mountOptions = [ "defaults" ];
};
};
};

View file

@ -1,18 +1,26 @@
# 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, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_blk" ];
boot.initrd.availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"virtio_blk"
];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

View file

@ -47,9 +47,7 @@
fsType = "btrfs";
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
virtualisation.hypervGuest.enable = true;

View file

@ -113,8 +113,8 @@ in
media_storage_providers = [ ];
password_config = {
enabled = false;
localdb_enabled = false;
enabled = true;
localdb_enabled = true;
pepper = "";
};

View file

@ -21,7 +21,11 @@ let
metronomKeys = [ metronom-host ];
garageKeys = [ trinkgenossin-host delite-host blue-shell-host ];
garageKeys = [
trinkgenossin-host
delite-host
blue-shell-host
];
in
{
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBB5XaH02a6+TchnyQED2VwaltPgeFCbildbE2h6nF5e root@nachtigall