able to get a dry run to compile
This commit is contained in:
@@ -30,8 +30,7 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.rust-overlay.follows = "rust-overlay";
|
||||
};
|
||||
# eww follows rust nightly
|
||||
# eww.inputs.nixpkgs.follows = "unstable";
|
||||
nur.url = "github:nix-community/NUR";
|
||||
grasp.url = "git+ssh://gitea@git.sealight.xyz/aynish/grasp.git?ref=main";
|
||||
grasp.inputs.nixpkgs.follows = "nixpkgs";
|
||||
tidalcycles.url = "github:mitchmindtree/tidalcycles.nix";
|
||||
@@ -54,13 +53,13 @@
|
||||
, agenix
|
||||
, basant
|
||||
, grasp
|
||||
, nur
|
||||
, tidalcycles
|
||||
, rust-overlay
|
||||
, eww
|
||||
, ...
|
||||
}@inputs:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
forAllSystems = nixpkgs.lib.genAttrs [
|
||||
"aarch64-linux"
|
||||
"i686-linux"
|
||||
@@ -76,6 +75,7 @@
|
||||
deploy.overlay
|
||||
tidalcycles.overlays.default
|
||||
agenix.overlay
|
||||
nur.overlay
|
||||
# unstable.overlay
|
||||
# self.overlays
|
||||
];
|
||||
@@ -107,21 +107,19 @@
|
||||
# NixOS configuration entrypoint
|
||||
nixosConfigurations = {
|
||||
curve = nixpkgs.lib.nixosSystem rec {
|
||||
specialArgs = { inherit self inputs outputs; };
|
||||
specialArgs = { inherit inputs self; };
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgsFor.${system};
|
||||
modules = [
|
||||
./hosts/curve
|
||||
home-manager.nixosModules.home-manager
|
||||
self.nixosModules.wallabag
|
||||
self.nixosModules.gonic
|
||||
agenix.nixosModules.age
|
||||
self.nixosModules.backup
|
||||
self.nixosModules.wireguard
|
||||
agenix.nixosModules.age
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
# home-manager.users.anish = import ./home/gui;
|
||||
home-manager.users.anish = import ./home/gui;
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -180,19 +178,20 @@
|
||||
homeConfigurations = {
|
||||
"anish@work" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./home/core.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
deploy.nodes = {
|
||||
box.profiles.system = {
|
||||
curve.profiles.system = {
|
||||
user = "root";
|
||||
path = deploy.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box;
|
||||
path = deploy.lib.x86_64-linux.activate.nixos self.nixosConfigurations.curve;
|
||||
};
|
||||
};
|
||||
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy.lib;
|
||||
# checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy.lib;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user