Merge branch 'main' of gh:greg-hellings/nixos-config

This commit is contained in:
Greg Hellings
2022-04-26 18:47:34 +00:00
10 changed files with 130 additions and 89 deletions
+1 -2
View File
@@ -7,8 +7,7 @@
./home-assistant.nix
./networking.nix
./vhosts.nix
../../profiles/rpi4.nix
../../profiles/home.nix
];
networking.hostName = "2maccabees";
greg.rpi4.enable = true;
}
+19 -19
View File
@@ -4,28 +4,28 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "uas" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "uas" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/35f9a49a-b557-4eb3-a013-2afca7a990e4";
fsType = "btrfs";
};
fileSystems."/" ={
device = "/dev/disk/by-uuid/35f9a49a-b557-4eb3-a013-2afca7a990e4";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A982-C8A3";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A982-C8A3";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/4b6f2dc4-d845-4ec4-81f2-4f61bb3f282d"; }
];
swapDevices = [ {
device = "/dev/disk/by-uuid/4b6f2dc4-d845-4ec4-81f2-4f61bb3f282d";
} ];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}
+2 -1
View File
@@ -3,12 +3,13 @@
{
imports = [
./hardware-configuration.nix
../../profiles/linode.nix
./nextcloud.nix
./nginx.nix
./postgres.nix
./synapse.nix
];
greg.home = false;
greg.linode.enable = true;
networking.hostName = "linode";
networking.domain = "thehellings.com";
}