forked from extern/nix-config
50ba2f9352
This lets me do things like only update inputs when I want to. Additionally, it becomes easy for me to add my own functionality to these projects and contribute to them upstream. Finally, it becomes easier to verify changes to the system when pulling changes from upstream.
27 lines
618 B
Nix
27 lines
618 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:donovanglover/home-manager/personal-master";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
stylix = {
|
|
url = "github:donovanglover/stylix/personal-master";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
home-manager.follows = "home-manager";
|
|
};
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... } @ attrs: {
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = attrs;
|
|
modules = [ ./. ];
|
|
};
|
|
};
|
|
}
|