dotfiles

andersuno dotfiles
git clone git://git.andersuno.nu/dotfiles.git
Log | Files | Refs | README

flake.nix (796B)


      1 {
      2   description = "Home Manager configuration of anders";
      3 
      4   inputs = {
      5     # Specify the source of Home Manager and Nixpkgs.
      6     nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
      7     home-manager = {
      8       url = "github:nix-community/home-manager";
      9       inputs.nixpkgs.follows = "nixpkgs";
     10     };
     11   };
     12 
     13   outputs = { nixpkgs, home-manager, ... }:
     14     let
     15       system = "x86_64-linux";
     16       pkgs = nixpkgs.legacyPackages.${system};
     17     in {
     18       homeConfigurations."anders" = home-manager.lib.homeManagerConfiguration {
     19         inherit pkgs;
     20 
     21         # Specify your home configuration modules here, for example,
     22         # the path to your home.nix.
     23         modules = [ ./home.nix ];
     24 
     25         # Optionally use extraSpecialArgs
     26         # to pass through arguments to home.nix
     27       };
     28     };
     29 }