nix-configs/flake.nix

84 lines
3 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-small";
nixpkgs.url = "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";
2023-04-12 14:17:06 +02:00
gumseite.url = "git+https://gitlab.com/schrottkatze/gum-schulsachen.git";
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 = [
2023-04-22 13:10:34 +02:00
./hosts/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}"
2023-04-22 13:10:34 +02:00
./hosts/potatobook-g/configuration.nix
2022-08-31 22:49:48 +02:00
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 = [
2023-04-22 13:10:34 +02:00
./hosts/schrottserver/configuration.nix
2023-02-03 23:06:00 +01:00
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
};
};
}