20 lines
417 B
Nix
20 lines
417 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
cfg = import ./configuration.nix;
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
services = {
|
|
udev.extraRules = ''
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="28de", MODE="0666"
|
|
KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_mode=uinput"
|
|
'';
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [ xdiskusage ];
|
|
|
|
system.stateVersion = "18.09";
|
|
}
|