Clean up speer config
This commit is contained in:
parent
6cdbba8c60
commit
df872fca94
2 changed files with 16 additions and 36 deletions
|
@ -3,27 +3,26 @@
|
||||||
"/dev/disk/by-uuid/bf353bb1-43bf-453f-ae7e-0fa9b4d8778c";
|
"/dev/disk/by-uuid/bf353bb1-43bf-453f-ae7e-0fa9b4d8778c";
|
||||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems = {
|
||||||
|
"/" = {
|
||||||
device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8";
|
device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=nixos" ];
|
options = [ "subvol=nixos" ];
|
||||||
};
|
};
|
||||||
|
"/home" = {
|
||||||
fileSystems."/home" = {
|
|
||||||
device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8";
|
device = "/dev/disk/by-uuid/661ad230-72da-4326-bb3a-4965006475f8";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=home" ];
|
options = [ "subvol=home" ];
|
||||||
};
|
};
|
||||||
|
"/boot" = {
|
||||||
fileSystems."/boot" = {
|
|
||||||
device = "/dev/disk/by-uuid/A5C5-1372";
|
device = "/dev/disk/by-uuid/A5C5-1372";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,26 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }: {
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
#wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
||||||
hostName = "speer";
|
hostName = "speer";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
|
|
||||||
#networking.wireguard.enable = true;
|
|
||||||
#networking.wireguard.interfaces = let
|
|
||||||
# meta = import ../../meta;
|
|
||||||
# vnetworks = meta.network.virtual;
|
|
||||||
# vnetworkName = "mgmt";
|
|
||||||
#in {
|
|
||||||
# "wg-${vnetworkName}" =
|
|
||||||
# pkgs.lib.qois.wireguard.makeInterface config.networking.hostName
|
|
||||||
# vnetworkName vnetworks.${vnetworkName};
|
|
||||||
#};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue