nix/system/wollomi.nix

37 lines
882 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, ... }:
{
networking.hostName = "wollomi"; # Define your hostname.
# dlna
services.minidlna = {
enable = true;
announceInterval = 120;
friendlyName = "PC";
mediaDirs = [ "A,/data/Music/Slsk" ];
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
hardware.ckb-next.enable = true;
users.users.fossil = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
environment.systemPackages = with pkgs; [
ckb-next
];
fileSystems."/" = {
device = "/dev/mapper/linux-nix";
fsType = "ext4";
};
fileSystems."/home" = {
device = "/dev/mapper/linux-home";
fsType = "btrfs";
};
fileSystems."/data" = {
device = "/dev/sdb1";
fsType = "ntfs";
};
networking.firewall.enable = false;
}