summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-26 22:12:23 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-26 22:12:23 -0600
commit13b51359c0b5c5d126adc4ff60d7abd2439c6111 (patch)
treed10927f27bd5304edb400929414da0f33faa35f6 /flake.nix
parent978085460d7b94d352253ae3cc1ad28046315dcf (diff)
flake: update to 22.11
Diffstat (limited to '')
-rw-r--r--flake.nix18
1 files changed, 4 insertions, 14 deletions
diff --git a/flake.nix b/flake.nix
index 5fdeb7e..1984f07 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,10 +1,10 @@
{
inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
nixpkgsUnstable.url = "github:nixos/nixpkgs";
home-manager = {
- url = "github:nix-community/home-manager/release-22.05";
+ url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
@@ -44,18 +44,8 @@
username = "ale";
home = platform: home-manager.lib.homeManagerConfiguration {
- system = "x86_64-linux";
-
- inherit configuration;
- extraModules = [ platform ];
-
- inherit username;
- homeDirectory = "/home/${username}";
-
- # 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";
+ pkgs = import nixpkgs { system = "x86_64-linux"; };
+ modules = [ configuration platform ];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix