2024-05-14 19:21:19 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
mods,
|
2024-06-17 16:13:54 +02:00
|
|
|
sources,
|
2024-05-14 19:21:19 +02:00
|
|
|
...
|
|
|
|
}:
|
2024-02-19 17:15:40 +01:00
|
|
|
|
|
|
|
{
|
2024-05-14 19:21:19 +02:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
# ./router.nix
|
|
|
|
];
|
2024-02-19 17:15:40 +01:00
|
|
|
|
2024-10-03 17:42:38 +02:00
|
|
|
boot.loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
2024-02-19 17:15:40 +01:00
|
|
|
|
2024-05-14 13:48:01 +02:00
|
|
|
networking.networkmanager.enable = true;
|
2024-02-19 17:15:40 +01:00
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-05-31 23:34:05 +02:00
|
|
|
|
2024-08-22 17:13:14 +02:00
|
|
|
security.rtkit.enable = true;
|
2024-10-03 17:42:38 +02:00
|
|
|
hardware.bluetooth = {
|
2024-08-22 17:13:14 +02:00
|
|
|
enable = true;
|
2024-10-03 17:42:38 +02:00
|
|
|
powerOnBoot = false;
|
2024-02-19 17:15:40 +01:00
|
|
|
};
|
|
|
|
|
2024-10-03 17:42:38 +02:00
|
|
|
environment.systemPackages = with pkgs; [ brightnessctl ];
|
2024-02-26 15:22:46 +01:00
|
|
|
fonts.packages = with pkgs; [
|
|
|
|
fira-code-nerdfont
|
|
|
|
font-awesome
|
|
|
|
];
|
2024-02-19 17:15:40 +01:00
|
|
|
|
2024-10-03 17:42:38 +02:00
|
|
|
services = {
|
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
syncthing = {
|
|
|
|
enable = true;
|
|
|
|
systemService = true;
|
|
|
|
dataDir = "/home/catvayor";
|
|
|
|
user = "catvayor";
|
|
|
|
group = "users";
|
|
|
|
openDefaultPorts = true;
|
|
|
|
settings = {
|
|
|
|
folders."essentials" = {
|
|
|
|
path = "~/essentials";
|
|
|
|
id = "vgpwu-fk3ct";
|
|
|
|
devices = [
|
|
|
|
"katel"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
devices.katel.id = "DYOKK7J-HZAF5S7-FYTHQF5-UD5GJZ2-4JMV5I5-STUM3HG-5YM2JPR-LATJNAZ";
|
2024-02-19 17:15:40 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-10-03 17:42:38 +02:00
|
|
|
programs = {
|
|
|
|
steam.enable = true;
|
|
|
|
virt-manager.enable = true;
|
|
|
|
gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
|
|
|
};
|
|
|
|
};
|
2024-02-19 17:15:40 +01:00
|
|
|
|
2024-05-14 13:48:01 +02:00
|
|
|
system.stateVersion = "23.11";
|
2024-02-19 17:15:40 +01:00
|
|
|
}
|