framework
Stef Dunlap 11 months ago
parent 6a831c0b09
commit f6d6012756
  1. 46
      box/wmft16.nix
  2. 19
      flake.nix

@ -0,0 +1,46 @@
# 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, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "i915.force_probe=46a6" ];
networking.hostName = "wmft16"; # Define your hostname.
fileSystems."/" =
{ device = "/dev/disk/by-uuid/39d12da3-efeb-459d-9051-ca929d034172";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-b9242b56-1f1a-40a8-aeec-eed6da43e99f".device = "/dev/disk/by-uuid/b9242b56-1f1a-40a8-aeec-eed6da43e99f";
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/64C6-7660";
fsType = "vfat";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
hardware.bluetooth.enable = true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

@ -70,6 +70,25 @@
}
];
};
nixosConfigurations.wmft16 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({ config, pkgs, ... }: {
nixpkgs.config.allowUnfreePredicate = (pkg: true);
})
./conf/workstation.nix
./box/wmft16.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.kindrobot.imports = [
./home/kindrobot.nix
./home/kindrobot-linux.nix
./home/email_accounts.nix
];
}
];
};
darwinConfigurations.wapple = darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [

Loading…
Cancel
Save