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.
|
2024-11-07 16:25:56 -06:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2024-07-10 12:06:41 -05:00
|
|
|
|
|
|
|
|
|
{
|
2024-11-07 16:25:56 -06:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2024-07-10 12:06:41 -05:00
|
|
|
|
|
|
|
|
|
networking.hostId = "4488bd1a";
|
|
|
|
|
networking.hostName = "telchar";
|
|
|
|
|
boot = {
|
2024-11-07 16:25:56 -06:00
|
|
|
|
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 = [ ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-09-23 21:11:51 -05:00
|
|
|
|
# Enable Flatpak support
|
2024-09-17 09:59:40 -05:00
|
|
|
|
services.flatpak.enable = true;
|
2024-09-23 21:11:51 -05:00
|
|
|
|
|
2024-10-09 12:06:31 -05:00
|
|
|
|
## Base config programs.
|
|
|
|
|
programs = {
|
|
|
|
|
# Enable Wireshark
|
2024-10-09 13:34:45 -05:00
|
|
|
|
wireshark.enable = true;
|
|
|
|
|
# Enable OpenJDK
|
|
|
|
|
java.enable = true;
|
2024-10-09 12:06:31 -05:00
|
|
|
|
};
|
2024-10-07 00:19:51 -05:00
|
|
|
|
|
2024-11-07 17:01:21 -06:00
|
|
|
|
# sops
|
|
|
|
|
sops.secrets = {
|
|
|
|
|
"syncthing/publicCert" = {
|
|
|
|
|
sopsFile = ./secrets.sops.yaml;
|
|
|
|
|
owner = "syncthing";
|
|
|
|
|
mode = "400";
|
|
|
|
|
restartUnits = [ "syncthing.service" ];
|
|
|
|
|
};
|
|
|
|
|
"syncthing/privateKey" = {
|
|
|
|
|
sopsFile = ./secrets.sops.yaml;
|
|
|
|
|
owner = "syncthing";
|
|
|
|
|
mode = "400";
|
|
|
|
|
restartUnits = [ "syncthing.service" ];
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-09-26 09:39:46 -05:00
|
|
|
|
|
2024-10-09 12:06:31 -05:00
|
|
|
|
## System settings and services.
|
2024-07-10 12:06:41 -05:00
|
|
|
|
mySystem = {
|
|
|
|
|
purpose = "Development";
|
2024-09-10 13:43:35 -05:00
|
|
|
|
|
2024-11-07 17:01:21 -06:00
|
|
|
|
services.syncthing = {
|
|
|
|
|
enable = true;
|
|
|
|
|
publicCertPath = config.sops.secrets."syncthing/publicCert".path;
|
|
|
|
|
privateKeyPath = config.sops.secrets."syncthing/privateKey".path;
|
|
|
|
|
};
|
|
|
|
|
|
2024-10-09 12:06:31 -05:00
|
|
|
|
## Desktop Environment
|
|
|
|
|
## Gnome
|
2024-09-23 21:11:51 -05:00
|
|
|
|
# de.gnome.enable = true;
|
2024-10-09 12:06:31 -05:00
|
|
|
|
## KDE
|
2024-09-24 13:36:57 -05:00
|
|
|
|
de.kde.enable = true;
|
2024-09-23 20:31:12 -05:00
|
|
|
|
|
2024-10-09 12:06:31 -05:00
|
|
|
|
## Games
|
|
|
|
|
games.steam.enable = true;
|
|
|
|
|
|
|
|
|
|
## System config
|
2024-07-30 18:47:59 -05:00
|
|
|
|
system = {
|
|
|
|
|
motd.networkInterfaces = [ "wlp1s0" ];
|
|
|
|
|
fingerprint-reader-on-laptop-lid.enable = true;
|
|
|
|
|
};
|
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
|
|
|
|
};
|
|
|
|
|
}
|