Update to nixos 22.05 and fix deprecations

This commit is contained in:
Valentin Brandl 2022-06-13 19:22:06 +02:00
parent 64ec259292
commit 7791a8d703
4 changed files with 4 additions and 5 deletions

View File

@ -5,7 +5,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixpkgs = { nixpkgs = {
url = "github:nixos/nixpkgs/nixos-21.11"; url = "github:nixos/nixpkgs/nixos-22.05";
}; };
flake-utils = { flake-utils = {
url = "github:numtide/flake-utils"; url = "github:numtide/flake-utils";

View File

@ -97,7 +97,7 @@ inputs:
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"L+ /lib64/ld-linux-x86-64.so.2 - - - - ${pkgs.stdenv.glibc}/lib64/ld-linux-x86-64.so.2" "L+ /lib64/ld-linux-x86-64.so.2 - - - - ${pkgs.glibc}/lib64/ld-linux-x86-64.so.2"
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -156,7 +156,6 @@ inputs:
enableDefaultFonts = true; enableDefaultFonts = true;
fonts = with pkgs; [ fonts = with pkgs; [
font-awesome font-awesome
font-awesome-ttf
nerdfonts nerdfonts
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk

View File

@ -27,7 +27,7 @@ inputs:
direnv direnv
#idea.idea-community #idea.idea-community
idea.idea-ultimate jetbrains.idea-ultimate
dbeaver dbeaver
]; ];

View File

@ -6,7 +6,7 @@ in
inputs.nixpkgs.lib.nixosSystem { inputs.nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
{ system.stateVersion = "21.11"; } { system.stateVersion = "22.05"; }
(import ./common.nix inputs) (import ./common.nix inputs)
(import ./dev.nix inputs) (import ./dev.nix inputs)
(import ./entertainment.nix inputs) (import ./entertainment.nix inputs)