From c2592d1fcd265432322b587dce0528a16e485123 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 4 Mar 2022 21:48:44 -0600 Subject: Initial commit --- flake.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..7ac20f1 --- /dev/null +++ b/flake.nix @@ -0,0 +1,34 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11"; + + home-manager = { + # "/release-21.11" para stable + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nur.url = "github:nix-community/NUR"; + }; + + outputs = { home-manager, nur, ... }: { + homeConfigurations."ale@p-user" = home-manager.lib.homeManagerConfiguration { + system = "x86_64-linux"; + configuration = { + imports = [ ./home.nix ]; + nixpkgs.overlays = [ nur.overlay ]; + }; + + username = "ale"; + homeDirectory = "/home/ale"; + + # Update the state version as needed. + # See the changelog here: + # https://nix-community.github.io/home-manager/release-notes.html#sec-release-21.05 + stateVersion = "21.11"; + + # Optionally use extraSpecialArgs + # to pass through arguments to home.nix + }; + }; +} -- cgit v1.2.3