Advertisement
salvoza

flake.nix

Sep 7th, 2024
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. {
  2.  
  3. description = "Salvo flake";
  4.  
  5. inputs = {
  6. nixpkgs.url = "nixpkgs/nixos-24.05";
  7. home-manager.url = "github:nix-community/home-manager/release-24.05";
  8. home-manager.inputs.nixpkgs.follows = "nixpkgs";
  9. hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
  10. hyprland-plugins = {
  11. url = "github:hyprwm/hyprland-plugins";
  12. inputs.hyprland.follows = "hyprland";
  13. };
  14. };
  15.  
  16. outputs = {self, nixpkgs, home-manager, ... }:
  17. let
  18. lib = nixpkgs.lib;
  19. system = "x86_64-linux";
  20. pkgs = nixpkgs.legacyPackages.${system};
  21. in {
  22.  
  23. nixosConfigurations = {
  24. nixos = lib.nixosSystem {
  25. inherit system;
  26. modules = [./configuration.nix];
  27. };
  28. };
  29.  
  30. homeConfigurations = {
  31. salvo = home-manager.lib.homeManagerConfiguration {
  32. inherit pkgs;
  33. modules = [./home.nix];
  34. };
  35. };
  36. };
  37. }
  38.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement