Update harbinger.nix

This commit is contained in:
Aaron Honeycutt 2023-03-13 13:26:56 +00:00
parent 095f8d708d
commit 78d14e82d2

View file

@ -1,3 +1,7 @@
# 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, ... }: { config, pkgs, ... }:
{ {
@ -5,27 +9,17 @@
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# ./unstable.nix # ./unstable.nix
./ahoneybun-net.nix
./tildecafe-com.nix
./rockymtnlug-org.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [ "console=ttyS0,19200n8" ]; boot.kernelParams = [ "console=ttyS0,19200n8" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix.settings.extra-platforms = [ "aarch64-linux" ];
nix.settings.auto-optimise-store = true; nix.settings.auto-optimise-store = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.buildMachines = [{
hostName = "localhost";
systems = ["x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"];
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
maxJobs = 8;
}];
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
@ -53,19 +47,6 @@
23.32.241.51 r3.o.lencr.org 23.32.241.51 r3.o.lencr.org
''; '';
fileSystems."/mnt/swapfile" =
{ device = "/dev/disk/by-uuid/82672991-fe8a-485a-8dcf-7c8ae1282b6c";
fsType = "ext4";
};
services.hydra = {
enable = true;
hydraURL = "localhost:3000";
notificationSender = "hydra@localhost";
#buildMachinesFiles = [];
useSubstitutes = true;
};
security.acme.acceptTerms = true; security.acme.acceptTerms = true;
security.acme.defaults.email = "aaronhoneycutt@proton.me"; security.acme.defaults.email = "aaronhoneycutt@proton.me";
@ -97,32 +78,16 @@
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
cargo cargo
flatpak
git git
git-lfs git-lfs
just just
]; ];
}; };
users.users.nathanielw = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
packages = with pkgs; [
neofetch
];
};
users.users.builder = {
isNormalUser = true;
extraGroups = [ "wheel" ];
packages = with pkgs; [
neofetch
];
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
acme-sh acme-sh
git git
git-lfs
inetutils inetutils
mtr mtr
neofetch neofetch