78 lines
1.7 KiB
Nix
78 lines
1.7 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, on
|
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
|
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
./pkgs.nix
|
|
./fonts.nix
|
|
./modules/bundle.nix
|
|
];
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
networking.hostName = "TARS";
|
|
networking.networkmanager.enable = true;
|
|
networking.firewall.checkReversePath = "strict";
|
|
networking.firewall.allowedTCPPorts = [ 53317 ];
|
|
networking.firewall.allowedUDPPorts = [ 53317 ];
|
|
|
|
time.timeZone = "Europe/Paris";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "mod-dh-iso-us";
|
|
};
|
|
|
|
# I need to figure out how this works
|
|
# services.printing.enable = true;
|
|
|
|
services.pipewire = {
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.pipewire.wireplumber.extraConfig.no-ucm = {
|
|
"monitor.alsa.properties" = {
|
|
"alsa.use-ucm" = false;
|
|
};
|
|
};
|
|
|
|
# programs.nix-ld.enable = true;
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
system.stateVersion = "25.05";
|
|
|
|
programs.niri.enable = true;
|
|
security.polkit.enable = true;
|
|
|
|
hardware.bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = false;
|
|
};
|
|
services.blueman.enable = true;
|
|
}
|