nix-configs/flake.nix

82 lines
2.8 KiB
Nix
Raw Normal View History

2022-08-02 09:55:12 +02:00
{
2022-10-02 18:22:40 +02:00
description = "system";
2022-08-02 09:55:12 +02:00
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-02-08 11:26:03 +01:00
nixpkgs-stable.url = "nixpkgs/nixos-22.11";
2022-08-02 09:55:12 +02:00
home-manager = {
url = "github:nix-community/home-manager";
2022-10-02 17:39:04 +02:00
inputs.nixpkgs.follows = "nixpkgs";
2022-08-12 12:14:32 +02:00
};
2022-09-01 09:03:08 +02:00
nixos-hardware.url = "github:kekrby/nixos-hardware";
2022-10-02 17:39:04 +02:00
mac-brcm-fw = {
2022-10-08 13:27:03 +02:00
url = "path:./mac-brcm-fw";
2022-10-02 17:39:04 +02:00
flake = false;
};
#mms.url = "github:mkaito/nixos-modded-minecraft-servers";
2022-12-13 18:57:27 +01:00
easymacros.url = "git+https://gitlab.com/obsidianical/easymacros.git";
2023-02-06 10:51:15 +01:00
meowsite.url = "git+https://gitlab.com/obsidianical/meowsite.git";
2023-02-08 08:13:28 +01:00
wordsofgod.url = "git+https://gitlab.com/obsidianical/wordsofgod.git";
2023-03-06 20:00:42 +01:00
karton.url = "git+https://gitlab.com/obsidianical/microbin.git";
2023-03-05 10:56:03 +01:00
arion.url = "github:hercules-ci/arion";
2022-08-02 09:55:12 +02:00
};
2023-02-19 02:04:30 +01:00
outputs = { self, nixpkgs, nixpkgs-stable, home-manager, nixos-hardware, mac-brcm-fw, ... }@inputs: {
2022-08-02 09:55:12 +02:00
nixosConfigurations = {
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
2022-11-01 18:22:53 +01:00
specialArgs = {
inherit inputs;
};
2022-08-02 09:55:12 +02:00
system = "x86_64-linux";
modules = [
2022-08-31 22:49:48 +02:00
./monosodium-glutamate-g/configuration.nix
2022-08-02 09:55:12 +02:00
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
2022-08-12 12:14:32 +02:00
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
home.sessionVariables.TZ = nixosConfig.time.timeZone;
home.stateVersion = "${nixosConfig.system.stateVersion}";
};
}
2022-08-02 09:55:12 +02:00
];
};
2022-08-31 22:49:48 +02:00
potatobook-g = nixpkgs.lib.nixosSystem {
2022-11-01 18:22:53 +01:00
specialArgs = {
inherit inputs;
};
2022-08-31 22:49:48 +02:00
system = "x86_64-linux";
modules = [
2022-10-02 18:15:36 +02:00
"${mac-brcm-fw}"
2022-08-31 22:49:48 +02:00
./potatobook-g/configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
home.sessionVariables.TZ = nixosConfig.time.timeZone;
home.stateVersion = "${nixosConfig.system.stateVersion}";
};
}
nixos-hardware.nixosModules.apple-t2
];
};
2023-02-08 11:26:03 +01:00
schrottserver = nixpkgs-stable.lib.nixosSystem {
2023-02-03 23:06:00 +01:00
specialArgs = {
inherit inputs;
};
system = "x86_64-linux";
modules = [
./schrottserver/configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
home.sessionVariables.TZ = nixosConfig.time.timeZone;
home.stateVersion = "${nixosConfig.system.stateVersion}";
};
}
];
};
2022-08-02 09:55:12 +02:00
};
};
}