summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-03-04 21:48:44 -0600
committerAlejandro Soto <alejandro@34project.org>2022-03-04 22:25:18 -0600
commitc2592d1fcd265432322b587dce0528a16e485123 (patch)
treefe50d46c2fbba78adce0926c14b189c30a0b6c26 /flake.nix
Initial commit
Diffstat (limited to '')
-rw-r--r--flake.nix34
1 files changed, 34 insertions, 0 deletions
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
+ };
+ };
+}