From 8a10ea437cf74619865e0966f8be8f16e6cba938 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 5 Dec 2022 16:37:27 +0100 Subject: update to nixos22.11 --- flake.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 6a6c21f..6595b93 100644 --- a/flake.nix +++ b/flake.nix @@ -3,10 +3,10 @@ description = "testing nix flakes for server deployment"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/release-22.05"; + nixpkgs.url = "github:NixOS/nixpkgs/release-22.11"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - home-manager.url = "github:nix-community/home-manager/release-22.05"; + home-manager.url = "github:nix-community/home-manager/release-22.11"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; peerix.url = "github:cid-chan/peerix"; peerix.inputs.nixpkgs.follows = "nixpkgs"; @@ -87,12 +87,12 @@ homeConfigurations = let home = root: inputs.home-manager.lib.homeManagerConfiguration rec { - system = "x86_64-linux"; - homeDirectory = "/home/stuebinm"; - username = "stuebinm"; - configuration.imports = [ root ]; - stateVersion = "21.03"; - extraSpecialArgs = { inherit inputs system; }; + pkgs = nixpkgs.legacyPackages.x86_64-linux; + modules = [ root ]; + extraSpecialArgs = { + inherit inputs; + system = "x86_64-linux"; + }; }; in { stuebinm = home ./home/home.nix; -- cgit v1.2.3