mochi/nixos/hosts/telchar/default.nix

82 lines
1.7 KiB
Nix
Raw Normal View History

2025-03-04 17:12:59 -06:00
{pkgs, ...}: {
imports = [];
swapDevices = [];
virtualisation.docker.enable = true;
# System packages
environment.systemPackages = with pkgs; [
2025-03-03 17:08:24 -06:00
# myPkgs.modrinth-app-unwrapped
dconf-editor
fastfetch
2025-02-28 07:34:36 -06:00
gtk3
nodejs_22
2025-03-03 17:08:24 -06:00
pavucontrol # Pulseaudio volume control
vesktop # Discord custom client
zulu # Java OpenJDK
];
environment.sessionVariables = {
# Wayland and Chromium/Electron apps.
NIXOS_OZONE_WL = "1";
};
services = {
# Tailscale
tailscale = {
enable = true;
openFirewall = true;
};
# Pipewire and Pulseaudio
pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
2025-03-03 17:08:24 -06:00
extraConfig.pipewire = {
"10-clock-rate" = {
"context.properties" = {
"default.clock.rate" = 48000;
};
};
"10-clock-quantum" = {
"context.properties" = {
"default.clock.quantum" = 1024;
};
};
};
};
blueman.enable = true;
};
## System settings and services.
mySystem = {
purpose = "Development";
2025-02-28 07:34:36 -06:00
#services.syncthing = {
# enable = false;
# user = "jahanson";
# publicCertPath = config.sops.secrets."syncthing/publicCert".path;
# privateKeyPath = config.sops.secrets."syncthing/privateKey".path;
#};
## Desktop Environment
## Gnome
# de.gnome.enable = true;
## KDE
# de.kde.enable = true;
## Hyprland
de.hyprland.enable = true;
## Games
# games.steam.enable = true;
## System config
system = {
motd.networkInterfaces = ["wlp1s0"];
fingerprint-reader-on-laptop-lid.enable = true;
};
framework_wifi_swap.enable = true;
security._1password.enable = true;
};
}