nix-configs/flake.nix

102 lines
3.6 KiB
Nix
Raw Normal View History

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