34 lines
688 B
Nix
34 lines
688 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
networking.hostName = "loki-nixos";
|
|
imports = [ ../../nixos/custom.nix ./hardware-configuration.nix ];
|
|
|
|
fileSystems."/".options = [ "ssd" "noatime" "compress=zstd" ];
|
|
swapDevices = [{
|
|
device = "/swapfile";
|
|
size = 16 * 1024;
|
|
randomEncryption.enable = true;
|
|
}];
|
|
boot.resumeDevice = "/dev/nvme0n1p2";
|
|
|
|
# --- Temp sections for testing purposes ---
|
|
# services.pipewire = {
|
|
# enable = true;
|
|
# alsa.enable = true;
|
|
# pulse.enable = true;
|
|
# alsa.support32Bit = true;
|
|
# };
|
|
|
|
# environment.systemPackages = with pkgs; [
|
|
# pavucontrol
|
|
# qpwgraph
|
|
# paprefs
|
|
# helvum
|
|
|
|
# ];
|
|
|
|
# programs.dconf.enable = true;
|
|
|
|
}
|