WIP
This commit is contained in:
parent
1457e0e883
commit
3c29f101ab
|
@ -3,9 +3,6 @@
|
||||||
|
|
||||||
## Optimizations
|
## Optimizations
|
||||||
|
|
||||||
# Clean /tmp
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
|
||||||
|
|
||||||
# Link identical files
|
# Link identical files
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
# Clean /tmp
|
||||||
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
}
|
17
flake.nix
17
flake.nix
|
@ -2,6 +2,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-24.05";
|
nixpkgs.url = "nixpkgs/nixos-24.05";
|
||||||
nixpkgs-unstable.url = "nixpkgs/nixpkgs-unstable";
|
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";
|
vampysite.url = "git+https://git.lain.faith/sorceress/vampysite";
|
||||||
|
|
||||||
|
@ -10,6 +11,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix-darwin = {
|
||||||
|
url = "github:LnL7/nix-darwin";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs-darwin";
|
||||||
|
};
|
||||||
|
|
||||||
mms = {
|
mms = {
|
||||||
url = "github:mkaito/nixos-modded-minecraft-servers";
|
url = "github:mkaito/nixos-modded-minecraft-servers";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -51,13 +57,14 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = { nixpkgs, nixpkgs-unstable, home-manager, mms, helix, url-eater
|
outputs = { nixpkgs, nixpkgs-unstable, home-manager, nix-darwin, mms, helix
|
||||||
, colorpickle, matrix-ril100, frq-friend, colmena, vampysite, ccase, ...
|
, url-eater, colorpickle, matrix-ril100, frq-friend, colmena, vampysite
|
||||||
}: {
|
, ccase, ... }: {
|
||||||
colmena = let
|
colmena = let
|
||||||
mkDesktop = hostname: {
|
mkDesktop = hostname: {
|
||||||
imports = [
|
imports = [
|
||||||
./common
|
./common
|
||||||
|
./common/linux-specific.nix
|
||||||
./hosts/${hostname}/configuration.nix
|
./hosts/${hostname}/configuration.nix
|
||||||
./common/options.nix
|
./common/options.nix
|
||||||
(import "${home-manager}/nixos")
|
(import "${home-manager}/nixos")
|
||||||
|
@ -120,6 +127,7 @@
|
||||||
bloodletting = {
|
bloodletting = {
|
||||||
imports = [
|
imports = [
|
||||||
./common
|
./common
|
||||||
|
./common/linux-specific.nix
|
||||||
./hosts/bloodletting/configuration.nix
|
./hosts/bloodletting/configuration.nix
|
||||||
(import "${home-manager}/nixos")
|
(import "${home-manager}/nixos")
|
||||||
mms.module
|
mms.module
|
||||||
|
@ -176,6 +184,9 @@
|
||||||
ritual = mkDesktop "ritual";
|
ritual = mkDesktop "ritual";
|
||||||
tears = mkDesktop "tears";
|
tears = mkDesktop "tears";
|
||||||
};
|
};
|
||||||
|
darwinConfigurations."Agathas-Mac-mini" = nix-darwin.lib.darwinSystem {
|
||||||
|
modules = [ ./common ./hosts/Agathas-Mac-mini/configuration.nix ];
|
||||||
|
};
|
||||||
devShells."x86_64-linux".default =
|
devShells."x86_64-linux".default =
|
||||||
let pkgs = import nixpkgs { system = "x86_64-linux"; };
|
let pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
in pkgs.mkShell {
|
in pkgs.mkShell {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{ nixpkgs.hostPlatform = "aarch64-darwin"; }
|
Loading…
Reference in New Issue