run nixpkgs-fmt

This commit is contained in:
jopejoe1 2024-01-19 13:42:27 +01:00
parent 830243253e
commit 8d7d732a1f
8 changed files with 46 additions and 45 deletions

View file

@ -2,7 +2,7 @@
let
mkSystem = systemConfig: name: nixpkgs.lib.nixosSystem rec {
system = builtins.replaceStrings ["-unknown-" "-gnu"] ["-" ""] systemConfig;
system = builtins.replaceStrings [ "-unknown-" "-gnu" ] [ "-" "" ] systemConfig;
specialArgs = inputs;
modules = [
./${name}
@ -23,8 +23,8 @@ in
jurojin = mkSystem "aarch64-unknown-linux-gnu" "jurojin";
sukuna-biko-na = mkSystem "aarch64-unknown-linux-gnu" "sukuna-biko-na";
benzaiten = mkSystem "x86_64-unknown-linux-gnu" "benzaiten";
kamimusubi = mkSystem "x86_64-unknown-linux-gnu" "kamimusubi";
ebisu = mkSystem "x86_64-unknown-linux-gnu" "ebisu";
hetzner = mkSystem "x86_64-unknown-linux-gnu" "hetzner";
zap = mkSystem "x86_64-unknown-linux-gnu" "zap";
kamimusubi = mkSystem "x86_64-unknown-linux-gnu" "kamimusubi";
ebisu = mkSystem "x86_64-unknown-linux-gnu" "ebisu";
hetzner = mkSystem "x86_64-unknown-linux-gnu" "hetzner";
zap = mkSystem "x86_64-unknown-linux-gnu" "zap";
}

View file

@ -104,5 +104,5 @@
};
nix.settings.system-features = [ "gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test" ]
++ map (x: "gccarch-${x}") (lib.systems.architectures.inferiors.alderlake or []);
++ map (x: "gccarch-${x}") (lib.systems.architectures.inferiors.alderlake or [ ]);
}

View file

@ -12,7 +12,8 @@
};
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
[
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
@ -36,22 +37,22 @@
};
# networking = {
# wireless.enable = lib.mkForce false;
# interfaces.eth0 = {
# ipv4.addresses = [{
# address = "134.255.219.135";
# prefixLength = 24;
# }];
# };
# interfaces.ens18 = {
# ipv4.addresses = [{
# address = "185.249.199.92";
# prefixLength = 24;
# }];
# };
# defaultGateway = "134.255.219.1";
# };
# networking = {
# wireless.enable = lib.mkForce false;
# interfaces.eth0 = {
# ipv4.addresses = [{
# address = "134.255.219.135";
# prefixLength = 24;
# }];
# };
# interfaces.ens18 = {
# ipv4.addresses = [{
# address = "185.249.199.92";
# prefixLength = 24;
# }];
# };
# defaultGateway = "134.255.219.1";
# };
time.timeZone = "Europe/Berlin";
@ -77,17 +78,17 @@
type = "table";
format = "msdos";
partitions = [
# {
# name = "ESP";
# start = "1M";
# end = "500M";
# bootable = true;
# content = {
# type = "filesystem";
# format = "vfat";
# mountpoint = "/boot";
# };
# }
# {
# name = "ESP";
# start = "1M";
# end = "500M";
# bootable = true;
# content = {
# type = "filesystem";
# format = "vfat";
# mountpoint = "/boot";
# };
# }
{
name = "root";
start = "500M";