-
-
Save rajivr/35008e8e2fa26e048a9a1d9892c27837 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs.nixpkgs.url = "nixpkgs/nixos-20.09"; | |
inputs.home-manager = { | |
url = "github:nix-community/home-manager/release-20.09"; | |
inputs.nixpkgs.follows = "nixpkgs"; | |
}; | |
inputs.nur.url = "github:nix-community/NUR"; | |
outputs = { self, nixpkgs, home-manager, nur }: { | |
nixosConfigurations.thinkpad = nixpkgs.lib.nixosSystem { | |
modules = | |
[ | |
( | |
{ ... }: { | |
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev; | |
nix.registry.nixpkgs.flake = nixpkgs; | |
nixpkgs.overlays = [ | |
nur.overlay | |
]; | |
} | |
) | |
home-manager.nixosModules.home-manager | |
nixpkgs.nixosModules.notDetected | |
./machines/thinkpad/configuration.nix | |
]; | |
system = "x86_64-linux"; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment