stufk;
This commit is contained in:
parent
51409b72dc
commit
e8366cc6cc
9 changed files with 677 additions and 662 deletions
|
|
@ -1,64 +1,64 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
raspberrypi-eeprom
|
||||
];
|
||||
programs.partition-manager.enable = false;
|
||||
environment.systemPackages = with pkgs; [
|
||||
raspberrypi-eeprom
|
||||
];
|
||||
programs.partition-manager.enable = false;
|
||||
|
||||
services.printing.enable = false;
|
||||
i18n.inputMethod.enable = false;
|
||||
services.printing.enable = false;
|
||||
i18n.inputMethod.enable = false;
|
||||
|
||||
services.desktopManager.plasma6.enable = false;
|
||||
services.desktopManager.plasma6.enable = false;
|
||||
|
||||
hardware.raspberry-pi."4" = {
|
||||
apply-overlays-dtmerge.enable = true;
|
||||
bluetooth.enable = true;
|
||||
fkms-3d.enable = true;
|
||||
};
|
||||
|
||||
age.secrets.password-tao.file = ../secrets/syncthing-uwuraid.age;
|
||||
users.users.tao = {
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets.password-tao.path;
|
||||
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"];
|
||||
shell = pkgs.nushell;
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = false;
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
|
||||
# Configure for modesetting in the device tree
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-label/NIXOS_SD";
|
||||
fsType = "ext4";
|
||||
options = ["noatime"];
|
||||
hardware.raspberry-pi."4" = {
|
||||
apply-overlays-dtmerge.enable = true;
|
||||
bluetooth.enable = true;
|
||||
fkms-3d.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "nolaptop";
|
||||
systems = ["x86_64-linux" "i686-linux"];
|
||||
supportedFeatures = [
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
"gccarch-znver4"
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
];
|
||||
}
|
||||
];
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
nix.distributedBuilds = true;
|
||||
age.secrets.password-tao.file = ../secrets/syncthing-uwuraid.age;
|
||||
users.users.tao = {
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets.password-tao.path;
|
||||
extraGroups = ["audio" "video" "wheel" "libvirtd" "dialout" "game"];
|
||||
shell = pkgs.nushell;
|
||||
};
|
||||
|
||||
networking.hostName = "NObangers";
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
system.stateVersion = "23.11";
|
||||
boot.loader.systemd-boot.enable = false;
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
|
||||
# Configure for modesetting in the device tree
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-label/NIXOS_SD";
|
||||
fsType = "ext4";
|
||||
options = ["noatime"];
|
||||
};
|
||||
};
|
||||
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "nolaptop";
|
||||
systems = ["x86_64-linux" "i686-linux"];
|
||||
supportedFeatures = [
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
"gccarch-znver4"
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
];
|
||||
}
|
||||
];
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
networking.hostName = "NObangers";
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue