This commit is contained in:
Agatha Lovelace 2024-09-05 18:32:01 +02:00
parent 1457e0e883
commit 3c29f101ab
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
4 changed files with 19 additions and 6 deletions

View File

@ -3,9 +3,6 @@
## Optimizations
# Clean /tmp
boot.tmp.cleanOnBoot = true;
# Link identical files
nix.settings.auto-optimise-store = true;

View File

@ -0,0 +1,4 @@
{
# Clean /tmp
boot.tmp.cleanOnBoot = true;
}

View File

@ -2,6 +2,7 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "nixpkgs/nixpkgs-unstable";
nixpkgs-darwin.url = "github:NixOS/nixpkgs/nixpkgs-24.05-darwin";
vampysite.url = "git+https://git.lain.faith/sorceress/vampysite";
@ -10,6 +11,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs-darwin";
};
mms = {
url = "github:mkaito/nixos-modded-minecraft-servers";
inputs.nixpkgs.follows = "nixpkgs";
@ -51,13 +57,14 @@
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs = { nixpkgs, nixpkgs-unstable, home-manager, mms, helix, url-eater
, colorpickle, matrix-ril100, frq-friend, colmena, vampysite, ccase, ...
}: {
outputs = { nixpkgs, nixpkgs-unstable, home-manager, nix-darwin, mms, helix
, url-eater, colorpickle, matrix-ril100, frq-friend, colmena, vampysite
, ccase, ... }: {
colmena = let
mkDesktop = hostname: {
imports = [
./common
./common/linux-specific.nix
./hosts/${hostname}/configuration.nix
./common/options.nix
(import "${home-manager}/nixos")
@ -120,6 +127,7 @@
bloodletting = {
imports = [
./common
./common/linux-specific.nix
./hosts/bloodletting/configuration.nix
(import "${home-manager}/nixos")
mms.module
@ -176,6 +184,9 @@
ritual = mkDesktop "ritual";
tears = mkDesktop "tears";
};
darwinConfigurations."Agathas-Mac-mini" = nix-darwin.lib.darwinSystem {
modules = [ ./common ./hosts/Agathas-Mac-mini/configuration.nix ];
};
devShells."x86_64-linux".default =
let pkgs = import nixpkgs { system = "x86_64-linux"; };
in pkgs.mkShell {

View File

@ -0,0 +1 @@
{ nixpkgs.hostPlatform = "aarch64-darwin"; }