mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 06:18:44 +01:00
121 lines
3.5 KiB
Nix
121 lines
3.5 KiB
Nix
{
|
|
description = "system";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
nixpkgs-stable.url = "nixpkgs/nixos-23.11";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixos-hardware.url = "github:networkException/nixos-hardware/apple-t2-init";
|
|
mac-brcm-fw = {
|
|
url = "path:/home/jade/nix-configs/mac-brcm-fw";
|
|
flake = false;
|
|
};
|
|
#mms.url = "github:mkaito/nixos-modded-minecraft-servers";
|
|
easymacros.url = "git+https://gitlab.com/obsidianical/easymacros.git";
|
|
meowsite.url = "git+https://gitlab.com/obsidianical/meowsite.git";
|
|
wordsofgod.url = "git+https://gitlab.com/obsidianical/wordsofgod.git";
|
|
karton.url = "git+https://gitlab.com/obsidianical/microbin.git";
|
|
arion.url = "github:hercules-ci/arion";
|
|
gumseite.url = "git+https://gitlab.com/schrottkatze/gum-schulsachen.git";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
nixpkgs-stable,
|
|
home-manager,
|
|
nixos-hardware,
|
|
mac-brcm-fw,
|
|
...
|
|
} @ inputs: let
|
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
|
in {
|
|
devShells."x86_64-linux".default = pkgs.mkShell {
|
|
buildInputs = [
|
|
(pkgs.haskellPackages.ghcWithPackages
|
|
(pkgs:
|
|
with pkgs; [
|
|
xmonad
|
|
xmonad-contrib
|
|
xmobar
|
|
statgrab
|
|
]))
|
|
pkgs.haskell-language-server
|
|
];
|
|
};
|
|
nixosConfigurations = {
|
|
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/monosodium-glutamate-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}";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
catbook-j = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/catbook-j/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 = "22.11";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
potatobook-g = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inherit inputs;
|
|
};
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
"${mac-brcm-fw}"
|
|
./hosts/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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|