bangermachine
This commit is contained in:
parent
0e154f286f
commit
40fe8f62bc
5 changed files with 255 additions and 216 deletions
|
|
@ -125,6 +125,15 @@
|
||||||
./extras/uwuraid.nix
|
./extras/uwuraid.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
NObangers = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "aarch64-linux";
|
||||||
|
specialArgs = {inherit inputs;};
|
||||||
|
modules = [
|
||||||
|
nixos-hardware.nixosModules.raspberry-pi-4
|
||||||
|
./systems/BASED.nix
|
||||||
|
./systems/NObangers.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
NOserver-minecraft = nixpkgs.lib.nixosSystem {
|
NOserver-minecraft = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
helix
|
helix
|
||||||
inputs.agenix.packages.${pkgs.system}.default
|
inputs.agenix.packages.${pkgs.system}.default
|
||||||
inputs.zen-browser.packages."${system}".default
|
inputs.zen-browser.packages."${system}".default
|
||||||
|
jujutsu
|
||||||
mesa
|
mesa
|
||||||
mpv
|
mpv
|
||||||
ouch
|
ouch
|
||||||
|
|
@ -87,7 +88,7 @@
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
services.printing.enable = lib.mkDefault true;
|
services.printing.enable = lib.mkDefault true;
|
||||||
services.printing.drivers = with pkgs; [gutenprint gutenprintBin];
|
services.printing.drivers = with pkgs; lib.mkDefault [gutenprint gutenprintBin];
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
|
|
@ -120,7 +121,7 @@
|
||||||
security.sudo-rs.enable = true;
|
security.sudo-rs.enable = true;
|
||||||
security.sudo.enable = false;
|
security.sudo.enable = false;
|
||||||
|
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = lib.mkDefault {
|
||||||
enable = true;
|
enable = true;
|
||||||
type = "fcitx5";
|
type = "fcitx5";
|
||||||
fcitx5.addons = with pkgs; [
|
fcitx5.addons = with pkgs; [
|
||||||
|
|
|
||||||
29
systems/NObangers.nix
Normal file
29
systems/NObangers.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = with pkgs; [];
|
||||||
|
programs.partition-manager.enable = false;
|
||||||
|
|
||||||
|
services.printing.enable = false;
|
||||||
|
i18n.inputMethod = {};
|
||||||
|
|
||||||
|
services.xserver.enable = false;
|
||||||
|
services.desktopManager.plasma6.enable = false;
|
||||||
|
|
||||||
|
boot.loader.systemd-boot.enable = false;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/" = {
|
||||||
|
device = "/dev/disk/by-label/NIXOS_SD";
|
||||||
|
fsType = "ext4";
|
||||||
|
options = ["noatime"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = "aarch64-linux";
|
||||||
|
system.stateVersion = "23.11";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue