separate into machine and user specific profiles
This commit is contained in:
parent
7d9fe63a4a
commit
3849967624
6 changed files with 95 additions and 49 deletions
37
system/wollomi.nix
Normal file
37
system/wollomi.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue