89 lines
2.1 KiB
Nix
89 lines
2.1 KiB
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{
|
||
config,
|
||
pkgs,
|
||
...
|
||
}: let
|
||
modules-dir = ../../modules;
|
||
in {
|
||
imports = [
|
||
../../global-default.nix
|
||
./hardware-configuration.nix
|
||
"${modules-dir}/zsh.nix"
|
||
"${modules-dir}/display-managers/lightdm.nix"
|
||
"${modules-dir}/window-managers/niri.nix"
|
||
./modules/hardware-fixes.nix
|
||
];
|
||
|
||
nix.buildMachines = [
|
||
{
|
||
hostName = "builder";
|
||
systems = [ "x86_64-linux" "i686-linux" ];
|
||
protocol = "ssh-ng";
|
||
maxJobs = 25;
|
||
speedFactor = 100;
|
||
supportedFeatures = [ "nixos-test" "benchmark" "kvm" "big-parallel" ];
|
||
}
|
||
{
|
||
hostName = "localhost";
|
||
systems = [ "x86_64-linux" "i686-linux" ];
|
||
maxJobs = 10;
|
||
speedFactor = 1;
|
||
supportedFeatures = [ ];
|
||
}
|
||
];
|
||
nix.distributedBuilds = true;
|
||
nix.settings.builders-use-substitutes = true;
|
||
|
||
services.tailscale = {
|
||
enable = true;
|
||
openFirewall = true;
|
||
};
|
||
|
||
services.spotifyd = {
|
||
enable = true;
|
||
};
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
spotifyd
|
||
];
|
||
|
||
hardware.steam-hardware.enable = true;
|
||
|
||
boot.loader.limine = {
|
||
enable = true;
|
||
maxGenerations = 10;
|
||
};
|
||
|
||
services.iio-niri.enable = true;
|
||
|
||
stylix.enable = true;
|
||
stylix.image = ../../assets/wallpapers/kitagawa.jpg;
|
||
stylix.polarity = "dark";
|
||
|
||
services.fprintd.enable = true;
|
||
security.pam.services.login.fprintAuth = true;
|
||
security.pam.services.sudo.fprintAuth = true;
|
||
security.pam.services.swaylock.fprintAuth = true;
|
||
security.pam.services.lightdm.fprintAuth = true;
|
||
|
||
programs.nautilus-open-any-terminal = {
|
||
enable = true;
|
||
terminal = "kitty";
|
||
};
|
||
|
||
# List services that you want to enable:
|
||
|
||
# Enable the OpenSSH daemon.
|
||
# services.openssh.enable = true;
|
||
|
||
# Open ports in the firewall.
|
||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||
# Or disable the firewall altogether.
|
||
# networking.firewall.enable = false;
|
||
}
|