Run nixpkgs-fmt

This commit is contained in:
Artemis Tosini 2020-11-26 04:20:52 +00:00
parent 12081e5172
commit f42247f51a
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
13 changed files with 78 additions and 74 deletions

View file

@ -17,7 +17,6 @@
, libXrender , libXrender
, libXrandr , libXrandr
}: }:
let let
jlinkVersion = "686a"; jlinkVersion = "686a";

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
let let
cfg = config.boot.loader.systemd-boot-secure; cfg = config.boot.loader.systemd-boot-secure;
@ -38,7 +37,8 @@ let
signingCertificate = if cfg.signed then cfg.signing-certificate else "/no-signing-crt"; signingCertificate = if cfg.signed then cfg.signing-certificate else "/no-signing-crt";
}; };
in { in
{
options.boot.loader.systemd-boot-secure = { options.boot.loader.systemd-boot-secure = {
enable = mkOption { enable = mkOption {

View file

@ -1,5 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
llvm = pkgs.llvmPackages_10; llvm = pkgs.llvmPackages_10;
go = pkgs.go_1_15; go = pkgs.go_1_15;

@ -1 +1 @@
Subproject commit 37ff0f2defe0902161d79d79cb4a9f7ef30bfbed Subproject commit 2f3480efc17b6cbd3edf01f2cee877ce2c9a8cf4

View file

@ -1,5 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
wofi = pkgs.wofi.overrideAttrs (old: { wofi = pkgs.wofi.overrideAttrs (old: {
src = pkgs.fetchhg { src = pkgs.fetchhg {
@ -49,4 +48,3 @@ in
xsettingsd xsettingsd
]; ];
} }

View file

@ -5,7 +5,8 @@
{ {
imports = imports =
[ (modulesPath + "/installer/scan/not-detected.nix") [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
@ -14,25 +15,27 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/mapper/rainbowdash-root"; {
device = "/dev/mapper/rainbowdash-root";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=root" ]; options = [ "subvol=root" ];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/mapper/rainbowdash-root"; {
device = "/dev/mapper/rainbowdash-root";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=home" ]; options = [ "subvol=home" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/642D-02DF"; {
device = "/dev/disk/by-uuid/642D-02DF";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/289be8e5-6547-41d4-a6ba-309141f9fccd"; } [{ device = "/dev/disk/by-uuid/289be8e5-6547-41d4-a6ba-309141f9fccd"; }];
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
# High-DPI console # High-DPI console

View file

@ -5,7 +5,8 @@
{ {
imports = imports =
[ (modulesPath + "/installer/scan/not-detected.nix") [
(modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
@ -14,37 +15,41 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511"; {
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=root" ]; options = [ "subvol=root" ];
}; };
fileSystems."/nix" = fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511"; {
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" ]; options = [ "subvol=nix" ];
}; };
fileSystems."/var/lib/flatpak" = fileSystems."/var/lib/flatpak" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511"; {
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=flatpak" ]; options = [ "subvol=flatpak" ];
}; };
fileSystems."/home" = fileSystems."/home" =
{ device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511"; {
device = "/dev/disk/by-uuid/54a16759-45b0-4b30-92d9-d60ee6815511";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=home" ]; options = [ "subvol=home" ];
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/597E-B7FC"; {
device = "/dev/disk/by-uuid/597E-B7FC";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/52effd04-0e5a-4ac6-a0c9-5970c063e5f4"; } [{ device = "/dev/disk/by-uuid/52effd04-0e5a-4ac6-a0c9-5970c063e5f4"; }];
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
} }