feat: Added stuff
This commit is contained in:
7
builders/xatu.nix
Normal file
7
builders/xatu.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
hostName = "rpi";
|
||||
sshUser = "remotebuilder";
|
||||
system = "aarch64-linux";
|
||||
protocol = "ssh-ng";
|
||||
supportedFeatures = ["benchmark" "big-parallel" "kvm"];
|
||||
}
|
||||
@@ -29,13 +29,8 @@
|
||||
'';
|
||||
package = pkgs.nixVersions.latest;
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "sh.darksailor.dev";
|
||||
sshUser = "remotebuilder";
|
||||
system = "x86_64-linux";
|
||||
protocol = "ssh-ng";
|
||||
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
|
||||
}
|
||||
../../builders/mirai.nix
|
||||
../../builders/shiro.nix
|
||||
];
|
||||
distributedBuilds = true;
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
'';
|
||||
package = pkgs.nixVersions.latest;
|
||||
buildMachines = [
|
||||
# ../../builders/mirai.nix
|
||||
../../builders/mirai.nix
|
||||
# ../../builders/shiro.nix
|
||||
];
|
||||
distributedBuilds = true;
|
||||
|
||||
@@ -11,6 +11,7 @@ in {
|
||||
./anyrun.nix
|
||||
./ironbar
|
||||
./gui.nix
|
||||
./eww.nix
|
||||
];
|
||||
|
||||
services.kdeconnect.enable = linux_gui;
|
||||
|
||||
19
home/linux/eww.nix
Normal file
19
home/linux/eww.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
activate_linux = pkgs.fetchFromGitHub {
|
||||
owner = "Nycta-b424b3c7";
|
||||
repo = "eww_activate-linux";
|
||||
rev = "master";
|
||||
sha256 = "sha256-CHNkRYR4F9JGMrNubHu+XzkwwI3IHzh93nuS7/Plhe4=";
|
||||
};
|
||||
in {
|
||||
programs.eww = {
|
||||
enable = device.hasGui && pkgs.stdenv.isLinux;
|
||||
enableFishIntegration = true;
|
||||
configDir = activate_linux;
|
||||
};
|
||||
}
|
||||
@@ -67,7 +67,6 @@
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../secrets/id_ed25519.pub
|
||||
../../secrets/id_ios.pub
|
||||
];
|
||||
};
|
||||
users.groups.media = {};
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
buildMachines = [
|
||||
../../builders/mirai.nix
|
||||
../../builders/shiro.nix
|
||||
../../builders/xatu.nix
|
||||
];
|
||||
distributedBuilds = true;
|
||||
};
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
networking.useNetworkd = true;
|
||||
systemd.services.NetworkManager-wait-online.enable = false;
|
||||
systemd.network.wait-online.enable = false;
|
||||
|
||||
system.nixos.tags = let
|
||||
cfg = config.boot.loader.raspberryPi;
|
||||
in [
|
||||
@@ -16,4 +17,17 @@
|
||||
cfg.bootloader
|
||||
config.boot.kernelPackages.kernel.version
|
||||
];
|
||||
|
||||
hardware.raspberry-pi.config = {
|
||||
dtparam = "audio=on";
|
||||
camera_auto_detect = 0;
|
||||
display_auto_detect = 0;
|
||||
auto_initramfs = 1;
|
||||
disable_fw_kms_setup = 1;
|
||||
arm_boost = 1;
|
||||
arm_64bit = 1;
|
||||
all = {
|
||||
usb_max_current_enable = 1;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,16 +19,19 @@
|
||||
modules = [
|
||||
{
|
||||
imports = with nixos-rpi.nixosModules; [
|
||||
nixos-raspberrypi.lib.inject-overlays
|
||||
raspberry-pi-5.base
|
||||
raspberry-pi-5.display-vc4
|
||||
raspberry-pi-5.bluetooth
|
||||
trusted-nix-caches
|
||||
nixpkgs-rpi
|
||||
nixos-raspberrypi.lib.inject-overlays-global
|
||||
];
|
||||
}
|
||||
{nixpkgs.overlays = overlays;}
|
||||
nur.modules.nixos.default
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
home-manager.nixosModules.home-manager
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
inputs.arion.nixosModules.arion
|
||||
./configuration.nix
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user