Remove most work-related configuration

I'm changing jobs
This commit is contained in:
Charlotte Van Petegem 2024-06-26 16:19:51 +02:00
parent c8de093095
commit c76a7cf1fa
No known key found for this signature in database
GPG key ID: 019E764B7184435A
12 changed files with 0 additions and 361 deletions

View file

@ -1,57 +0,0 @@
{ config, pkgs, ... }:
{
imports = [ ./hardware.nix ];
networking.hostId = "7a62a099";
time.timeZone = "Europe/Brussels";
# Machine-specific module settings
chvp = {
stateVersion = "20.09";
base = {
bluetooth.enable = true;
network = {
mobile = {
enable = true;
wireless-interface = "wlp0s20f3";
wired-interfaces = {
"enp0s13f0u2u2" = { };
};
};
wireguard.onCorporate = true;
};
zfs = {
encrypted = true;
backups = [
{
path = "rpool/safe/data";
remotePath = "zdata/recv/kharbranth/safe/data";
fast = true;
location = "lasting-integrity";
}
];
rootDataset = "rpool/local/root";
};
};
development = {
enable = true;
android.enable = true;
git.email = "charlotte.vanpetegem@ugent.be";
};
games.enable = true;
graphical.enable = true;
programs = {
calibre.enable = true;
eid.enable = true;
element.enable = true;
hledger.enable = true;
obs.enable = true;
torrents.enable = true;
};
work.enable = true;
};
services.telegraf.extraConfig.inputs.disk.mount_points = [ "/boot" ];
}

View file

@ -1,82 +0,0 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
loader.efi.canTouchEfiVariables = true;
initrd = {
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
kernelModules = [ "i915" ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
kernel.sysctl = {
"vm.swappiness" = 1;
};
};
chvp.base.zfs.systemLinks = [{ path = "/etc/secureboot"; type = "cache"; }];
# For Secure Boot management
environment.systemPackages = [ pkgs.sbctl ];
fileSystems."/" = {
device = "rpool/local/root";
fsType = "zfs";
neededForBoot = true;
};
fileSystems."/nix" = {
device = "rpool/local/nix";
fsType = "zfs";
neededForBoot = true;
};
fileSystems."/nix/store" = {
device = "rpool/local/nix-store";
fsType = "zfs";
neededForBoot = true;
};
fileSystems."/cache" = {
device = "rpool/local/cache";
fsType = "zfs";
neededForBoot = true;
};
fileSystems."/data" = {
device = "rpool/safe/data";
fsType = "zfs";
neededForBoot = true;
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/CFDD-B4A6";
fsType = "vfat";
};
swapDevices = [
{ device = "/dev/disk/by-label/swap"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware = {
cpu.intel.updateMicrocode = true;
enableRedistributableFirmware = true;
graphics = {
enable = true;
extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
];
};
};
services.fstrim.enable = true;
}

View file

@ -46,8 +46,6 @@
obs.enable = true;
torrents.enable = true;
};
# It's a pandemic.
work.enable = true;
};
services.telegraf.extraConfig.inputs.disk.mount_points = [ "/boot" ];