36 lines
939 B
Nix
36 lines
939 B
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ config, pkgs, lib, inputs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ # Include the results of the hardware scan.
|
||
../types/rpi4.nix
|
||
];
|
||
config = {
|
||
networking = {
|
||
hostName = "chimchar";
|
||
wireless = {
|
||
enable = true;
|
||
networks."STRUDEL7".psk = "1floopydroober";
|
||
interfaces = [ "wlan0" ];
|
||
};
|
||
};
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||
fsType = "ext4";
|
||
options = [ "noatime" ];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
services.xserver.enable = true;
|
||
services.xserver.displayManager.lightdm.enable = true;
|
||
services.xserver.windowManager.fvwm3.enable = true;
|
||
networking.useDHCP = lib.mkDefault true;
|
||
};
|
||
}
|