Nixfmt
This commit is contained in:
parent
1e35472464
commit
cf648f81ad
|
@ -23,7 +23,10 @@
|
|||
"/share"
|
||||
];
|
||||
};
|
||||
libPackages = with pkgs; [ readline70 openssl ];
|
||||
libPackages = with pkgs; [
|
||||
readline70
|
||||
openssl
|
||||
];
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs =
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
controlMaster = "auto";
|
||||
controlPersist = "10m";
|
||||
# Configure known hosts
|
||||
matchBlocks =
|
||||
{
|
||||
matchBlocks = {
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,11 +5,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
imports = [
|
||||
];
|
||||
|
||||
nix.settings.trusted-users = [ "root" "nathan" ];
|
||||
nix.settings.trusted-users = [
|
||||
"root"
|
||||
"nathan"
|
||||
];
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host eu.nixbuild.net
|
||||
|
@ -29,10 +31,14 @@ programs.ssh.knownHosts = {
|
|||
nix = {
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{ hostName = "eu.nixbuild.net";
|
||||
{
|
||||
hostName = "eu.nixbuild.net";
|
||||
system = "x86_64-linux";
|
||||
maxJobs = 100;
|
||||
supportedFeatures = [ "benchmark" "big-parallel" ];
|
||||
supportedFeatures = [
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -1,31 +1,45 @@
|
|||
# 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 + "/installer/scan/not-detected.nix")
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/0a846b89-7219-47c1-9db5-362e3c018964";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/0a846b89-7219-47c1-9db5-362e3c018964";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/D1C9-AFA9";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/D1C9-AFA9";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/bf35a46f-552c-4b37-a68b-c2fcf132f359"; }
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/bf35a46f-552c-4b37-a68b-c2fcf132f359"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
Loading…
Reference in a new issue