Removed comments and format

This commit is contained in:
pazpi 2024-08-27 21:59:21 +02:00
parent 8b25f46384
commit e0a09e90a7
No known key found for this signature in database
GPG key ID: 0942571C4B9966BE
7 changed files with 85 additions and 305 deletions

42
hosts/default.nix Normal file
View file

@ -0,0 +1,42 @@
{ nixpkgs
, home-manager
, nixos-hardware
, agenix
, ...
}:
let
agenixOverlay = final: prev: {
agenix = agenix.packages.${prev.system}.default;
};
pkgs = system: import nixpkgs {
inherit system;
overlays = [ agenixOverlay ];
config.allowUnfree = true;
};
in
{
deadbeef = nixpkgs.lib.nixosSystem {
pkgs = pkgs "x86_64-linux";
modules = [
./deadbeef
nixos-hardware.nixosModules.dell-xps-15-9560
home-manager.nixosModules.home-manager
agenix.nixosModules.default
];
specialArgs = {
# inherit nixvim nix-index-database;
};
};
arr = nixpkgs.lib.nixosSystem {
pkgs = pkgs "x86_64-linux";
modules = [
./arr
agenix.nixosModules.default
];
specialArgs = {
# inherit nixvim nix-index-database;
};
};
}