46 lines
901 B
Nix
46 lines
901 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, on
|
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
|
|
|
{
|
|
namespace,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./boot.nix
|
|
./services.nix
|
|
./sops.nix
|
|
];
|
|
|
|
${namespace} = {
|
|
impermanence.enable = true;
|
|
hardware = {
|
|
disko.enable = true;
|
|
raspberry-pi = {
|
|
enable = true;
|
|
variant = "5";
|
|
};
|
|
};
|
|
desktop.hyprland.enable = false;
|
|
user = {
|
|
name = "matt";
|
|
mutableUsers = false;
|
|
extraGroups = [ "docker" ];
|
|
};
|
|
network = {
|
|
hostName = "pi5";
|
|
ipv4 = {
|
|
method = "manual";
|
|
gateway = "10.0.1.1";
|
|
dns = "10.0.1.1";
|
|
interface = "wlan0";
|
|
};
|
|
firewall = {
|
|
enable = true;
|
|
allowPing = true;
|
|
};
|
|
};
|
|
};
|
|
}
|