Guest User

Untitled

a guest
Dec 14th, 2023
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. {
  2. description = "A very basic flake";
  3.  
  4. inputs = {
  5. nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
  6. home-manager = {
  7. url = "github:nix-community/home-manager";
  8. };
  9. };
  10.  
  11. outputs = { self, nixpkgs, home-manager, ... }@inputs:
  12. let
  13. system = "x86_64-linux";
  14. pkgs = import nixpkgs {
  15. inherit system;
  16. config.allowUnfree = true;
  17. };
  18. in {
  19. nixosConfigurations = rec {
  20. default = home-manager.inputs.nixpkgs.lib.nixosSystem {
  21. specialArgs = { inherit inputs system; };
  22. modules = [ ./configuration.nix home-manager.nixosModules.home-manager ];
  23. };
  24.  
  25. nixos = default;
  26. };
  27. };
  28. }
  29.  
Advertisement
Add Comment
Please, Sign In to add comment