run nixpkgs-fmt

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

View file

@ -31,11 +31,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1705534402,
"narHash": "sha256-mOWT45HLd8dm8FJNmrgngotE5NRJ+2arz65m1Kk0LBA=",
"lastModified": 1705660110,
"narHash": "sha256-q5cEuYpgWEsgcKhRzJ7i87N2hf1saMX42WBQc9LrKO4=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "6a928ce99e4ccb09e59c1f58052bd65027249c8a",
"rev": "516de0615e77d6e4d1ea5c405c776c0b0d6c1e4c",
"type": "gitlab"
},
"original": {
@ -184,11 +184,11 @@
]
},
"locked": {
"lastModified": 1705535278,
"narHash": "sha256-V5+XKfNbiY0bLKLQlH+AXyhHttEL7XcZBH9iSbxxexA=",
"lastModified": 1705660020,
"narHash": "sha256-1tOuNh+UbiZlaC8RrpQzzypgnLBC67eRlBunfkE4sbQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b84191db127c16a92cbdf7f7b9969d58bb456699",
"rev": "2064348e555b6aa963da6372a8f14e6acb80a176",
"type": "github"
},
"original": {

View file

@ -245,7 +245,7 @@ in {
}
];
}];
icon ="${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
"NixOS Modules" = {
@ -279,7 +279,7 @@ in {
}
];
}];
icon ="${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@hm" ];
};
"Repology" = {

View file

@ -10,7 +10,7 @@
};
libadwaita-follow-theme = pkgs.libadwaita.overrideAttrs (old: {
patches = (old.patches or [ ])++ [ ./adwaita-theming-support.patch ];
patches = (old.patches or [ ]) ++ [ ./adwaita-theming-support.patch ];
doCheck = false;
});

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}

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";