Update to nixos 22.11
This commit is contained in:
parent
f0be8cc8d8
commit
858c7a1655
14 changed files with 78 additions and 49 deletions
10
flake.nix
10
flake.nix
|
@ -2,17 +2,17 @@
|
|||
inputs = {
|
||||
# Upstream deps
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-22.05";
|
||||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-22.11";
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
|
||||
# Packages
|
||||
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-stable";
|
||||
|
||||
# Private Deps
|
||||
qois-infrastructure = {
|
||||
url = "git+file:///etc/nixos/qois-infrastructure";
|
||||
inputs.nixpkgs-nixos-2205.follows = "nixpkgs-stable";
|
||||
inputs.nixpkgs-nixos-2211.follows = "nixpkgs-stable";
|
||||
inputs.nixpkgs-nixos-unstable.follows = "nixpkgs-unstable";
|
||||
};
|
||||
threema.url = "git+file:///etc/nixos/defaults/threema";
|
||||
|
@ -74,10 +74,10 @@
|
|||
in pkgsUnstable.lib.genAttrs hosts mapHostnameToAttr;
|
||||
|
||||
# Nix development shell
|
||||
devShell.${system} = import ./shell.nix { pkgs = pkgsUnstable; };
|
||||
devShells.${system}.default = import ./shell.nix { pkgs = pkgsUnstable; };
|
||||
|
||||
# Run checks and build all hosts as default package
|
||||
defaultPackage.${system} = with pkgsUnstable.lib;
|
||||
packages.${system}.default = with pkgsUnstable.lib;
|
||||
let
|
||||
checks = attrValues self.checks.${system};
|
||||
nixosConfigs = mapAttrsToList (n: v: v.config.system.build.toplevel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue