task | add support for colmena

This commit is contained in:
Don Harper 2024-09-24 23:16:55 -05:00
parent 7f8f785f9f
commit fa6e63ace6
7 changed files with 30 additions and 18 deletions

View file

@ -22,6 +22,7 @@
home-manager, home-manager,
stylix, stylix,
catppuccin, catppuccin,
colmena,
... ...
}: let }: let
inherit (self) outputs; inherit (self) outputs;
@ -40,15 +41,21 @@
); );
in { in {
inherit lib; inherit lib;
# nixosModules = import ./modules/nixos; colmena = {
# homeManagerModules = import ./modules/home-manager; meta = {
# templates = import ./templates; nixpkgs = import nixpkgs {
system = "x86_64-linux";
};
specialArgs = {
inherit inputs outputs;
};
};
eve = import ./hosts/eve;
fred = import ./hosts/fred;
loki = import ./hosts/loki;
smaug = import ./hosts/smaug;
};
# overlays = import ./overlays { inherit inputs outputs; };
# packages = forEachSystem (pkgs: import ./pkgs { inherit pkgs; });
# devShells = forEachSystem (pkgs: import ./shell.nix { inherit pkgs; });
# formatter = forEachSystem (pkgs: pkgs.nixpkgs-fmt);
nixosConfigurations = { nixosConfigurations = {
# clients # clients
@ -71,16 +78,7 @@
}; };
}; };
loki = lib.nixosSystem { loki = lib.nixosSystem {
modules = [ modules = [ ./hosts/loki ];
# {
# nix.settings = {
# substituters = ["https://cosmic.cachix.org/"];
# trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
# };
# }
# nixos-cosmic.nixosModules.default
./hosts/loki
];
specialArgs = { specialArgs = {
inherit inputs outputs; inherit inputs outputs;
}; };

View file

@ -19,4 +19,7 @@
../../home/work ../../home/work
]; ];
networking.hostName = "eve"; networking.hostName = "eve";
deployment = {
tags = [ "workstation" ];
};
} }

View file

@ -15,4 +15,7 @@
./podman.nix ./podman.nix
]; ];
networking.hostName = "fred"; networking.hostName = "fred";
deployment = {
tags = [ "server" ];
};
} }

View file

@ -20,4 +20,7 @@
../../home/work ../../home/work
]; ];
networking.hostName = "loki"; networking.hostName = "loki";
deployment = {
tags = [ "workstation" ];
};
} }

View file

@ -177,6 +177,7 @@ in {
aspellDicts.en aspellDicts.en
base16-schemes base16-schemes
bash-completion bash-completion
colmena
nix-bash-completions nix-bash-completions
btop btop
git-crypt git-crypt

View file

@ -18,4 +18,7 @@
../../home/work ../../home/work
]; ];
networking.hostName = "smaug"; networking.hostName = "smaug";
deployment = {
tags = [ "workstation" ];
};
} }

View file

@ -278,6 +278,7 @@ in {
bash-completion bash-completion
brightnessctl brightnessctl
btop btop
colmena
espeak-classic espeak-classic
fwup fwup
fwupd fwupd