83 lines
1.8 KiB
Nix
83 lines
1.8 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/ly.nix"
|
||
"${modules-dir}/window-managers/niri.nix"
|
||
"${modules-dir}/nautilus.nix"
|
||
./modules/hardware-fixes.nix
|
||
./modules/plymouth.nix
|
||
];
|
||
|
||
nix.buildMachines = [
|
||
{
|
||
hostName = "nixremote";
|
||
systems = [ "x86_64-linux" "i686-linux" ];
|
||
protocol = "ssh-ng";
|
||
maxJobs = 250;
|
||
speedFactor = 1000;
|
||
supportedFeatures = [ "benchmark" "kvm" "big-parallel" ];
|
||
}
|
||
];
|
||
|
||
nix.distributedBuilds = true;
|
||
nix.settings.builders-use-substitutes = true;
|
||
|
||
services.blueman.enable = true;
|
||
|
||
services.tailscale = {
|
||
enable = true;
|
||
openFirewall = true;
|
||
};
|
||
|
||
environment.systemPackages = with pkgs; [
|
||
github-desktop
|
||
moonlight-qt
|
||
];
|
||
|
||
hardware.steam-hardware.enable = true;
|
||
|
||
boot = {
|
||
# Enable "Silent boot"
|
||
consoleLogLevel = 3;
|
||
initrd.verbose = false;
|
||
kernelParams = [
|
||
"quiet"
|
||
"rd.udev.log_level=3"
|
||
"rd.systemd.show_status=auto"
|
||
];
|
||
|
||
loader.limine = {
|
||
enable = true;
|
||
maxGenerations = 10;
|
||
};
|
||
};
|
||
|
||
stylix.enable = true;
|
||
stylix.image = ../../assets/wallpapers/kitagawa.jpg;
|
||
stylix.polarity = "dark";
|
||
|
||
|
||
# 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;
|
||
}
|