diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -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 |
