nix-rice, slightly scuffed
This commit is contained in:
parent
aae14e214e
commit
60a15031a9
9 changed files with 275 additions and 116 deletions
51
flake.nix
51
flake.nix
|
@ -38,8 +38,7 @@
|
|||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
declarative-cachix.url = "github:jonascarpay/declarative-cachix";
|
||||
|
||||
# declarative-cachix.url = "github:jonascarpay/declarative-cachix";
|
||||
nix-rice.url = "github:bertof/nix-rice";
|
||||
};
|
||||
|
||||
|
@ -60,12 +59,12 @@
|
|||
];
|
||||
in rec {
|
||||
# custom packages
|
||||
packages = forAllSystems (
|
||||
system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
import ./pkgs {inherit pkgs;}
|
||||
);
|
||||
# packages = forAllSystems (
|
||||
# system: let
|
||||
# pkgs = nixpkgs.legacyPackages.${system};
|
||||
# in
|
||||
# import ./pkgs {inherit pkgs;}
|
||||
# );
|
||||
|
||||
# homepkgs = forAllSystems (system:
|
||||
# let pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
@ -73,10 +72,7 @@
|
|||
# );
|
||||
|
||||
# any overlays or modules we use
|
||||
overlays = [
|
||||
nix-rice.overlays.default
|
||||
(import ./overlay.nix {inherit inputs;})
|
||||
];
|
||||
overlays = import ./overlay.nix {inherit inputs;};
|
||||
# nixosModules = import ./modules/nixos;
|
||||
# homeModules = import ./modules/home;
|
||||
|
||||
|
@ -88,6 +84,12 @@
|
|||
modules = [
|
||||
./system/quiver.nix
|
||||
nur.nixosModules.nur
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs outputs; };
|
||||
home-manager.users.bolt.imports = [ ./home/bolt.nix ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -98,28 +100,15 @@
|
|||
modules = [
|
||||
./system/adrift.nix
|
||||
nur.nixosModules.nur
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs outputs; };
|
||||
home-manager.users.plank.imports = [ ./home/plank.nix ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
"bolt@quiver" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/bolt.nix
|
||||
nur.hmModules.nur
|
||||
];
|
||||
};
|
||||
|
||||
"plank@adrift" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/plank.nix
|
||||
nur.hmModules.nur
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue