Advertisement
Guest User

Untitled

a guest
Feb 19th, 2024
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. {
  2. description = "flake for home-manager";
  3.  
  4. inputs = {
  5. nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  6. home-manager.url = "github:nix-community/home-manager/master";
  7. home-manager.inputs.nixpkgs.follows = "nixpkgs";
  8.  
  9. templ.url = "github:a-h/templ";
  10. };
  11.  
  12. outputs = { self, nixpkgs, home-manager, templ, ... }@inputs:
  13. let
  14. system = "x86_64-linux";
  15. pkgs = import nixpkgs {
  16. system = system;
  17. config.allowUnfree = true;
  18. };
  19. in {
  20. homeConfigurations = {
  21. shareni = home-manager.lib.homeManagerConfiguration {
  22. inherit pkgs;
  23. modules = [ ./home.nix ];
  24. extraSpecialArgs = {
  25. inherit inputs;
  26. inherit system;
  27. };
  28. };
  29. };
  30. };
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement