2024-07-10 12:06:41 -05:00
|
|
|
|
# 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, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
networking.hostId = "4488bd1a";
|
|
|
|
|
networking.hostName = "telchar";
|
|
|
|
|
boot = {
|
|
|
|
|
initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
2024-09-15 20:05:52 -05:00
|
|
|
|
initrd.kernelModules = [ "amdgpu" ];
|
2024-07-10 12:06:41 -05:00
|
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
};
|
|
|
|
|
|
2024-07-30 18:47:59 -05:00
|
|
|
|
fileSystems = {
|
|
|
|
|
"/" = {
|
|
|
|
|
device = "zroot/root";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/nix" = {
|
|
|
|
|
device = "zroot/nix";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/var" = {
|
|
|
|
|
device = "zroot/var";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
"/home" = {
|
|
|
|
|
device = "zroot/home";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2024-07-10 12:06:41 -05:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
2024-07-17 11:21:21 -05:00
|
|
|
|
virtualisation.docker.enable = true;
|
2024-07-10 12:06:41 -05:00
|
|
|
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2024-09-17 09:59:40 -05:00
|
|
|
|
|
|
|
|
|
services.flatpak.enable = true;
|
2024-07-10 12:06:41 -05:00
|
|
|
|
# System settings and services.
|
|
|
|
|
mySystem = {
|
|
|
|
|
purpose = "Development";
|
2024-09-10 13:43:35 -05:00
|
|
|
|
|
|
|
|
|
# System config
|
2024-07-30 18:47:59 -05:00
|
|
|
|
system = {
|
|
|
|
|
motd.networkInterfaces = [ "wlp1s0" ];
|
|
|
|
|
fingerprint-reader-on-laptop-lid.enable = true;
|
|
|
|
|
borg.pika-backup.enable = true;
|
|
|
|
|
};
|
2024-09-10 13:43:35 -05:00
|
|
|
|
|
|
|
|
|
# Services config
|
|
|
|
|
services = {
|
|
|
|
|
vault = {
|
2024-09-11 16:15:18 -05:00
|
|
|
|
enable = false;
|
2024-09-10 13:43:35 -05:00
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2024-07-30 14:38:36 -05:00
|
|
|
|
framework_wifi_swap.enable = true;
|
2024-09-15 20:05:52 -05:00
|
|
|
|
security._1password.enable = true;
|
2024-07-10 12:06:41 -05:00
|
|
|
|
};
|
|
|
|
|
}
|