dotfiles

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

commit 160600b5f6153b156b87cf8e830d9713ea245ec9
parent 489c0228af368d748fb2e21ff57b039068397f27
Author: Anders Hedman <anders.hedman01@gmail.com>
Date:   Tue, 22 Oct 2024 17:44:13 +0200

hm: flake init

Diffstat:
A.config/home-manager/flake.nix | 29+++++++++++++++++++++++++++++
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/.config/home-manager/flake.nix b/.config/home-manager/flake.nix @@ -0,0 +1,29 @@ +{ + description = "Home Manager configuration of anders"; + + inputs = { + # Specify the source of Home Manager and Nixpkgs. + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { nixpkgs, home-manager, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in { + homeConfigurations."anders" = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + + # Specify your home configuration modules here, for example, + # the path to your home.nix. + modules = [ ./home.nix ]; + + # Optionally use extraSpecialArgs + # to pass through arguments to home.nix + }; + }; +}