Advertisement
Guest User

Untitled

a guest
Apr 16th, 2025
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. {
  2. description = "NixOS configuration";
  3.  
  4. inputs = {
  5. nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
  6. home-manager.url = "github:nix-community/home-manager/release-24.11";
  7. home-manager.inputs.nixpkgs.follows = "nixpkgs";
  8. };
  9.  
  10. outputs =
  11. inputs@{ nixpkgs, home-manager, ... }:
  12. {
  13. nixosConfigurations = {
  14. #Replace the below with your hostname!!! Like: {hostname} = nixpkgs.lib.nixosSystem {
  15. nixos = nixpkgs.lib.nixosSystem {
  16. system = "x86_64-linux";
  17. modules = [
  18. ./configuration.nix
  19. ./firefox.nix
  20. ./zsh.nix
  21. ./packages.nix
  22. home-manager.nixosModules.home-manager
  23. {
  24. home-manager.useGlobalPkgs = true;
  25. home-manager.useUserPackages = true;
  26. home-manager.users.cookiez = ./home.nix;
  27.  
  28. # Optionally, use home-manager.extraSpecialArgs to pass
  29. # arguments to home.nix
  30. }
  31. ];
  32. };
  33. };
  34. };
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement