From d3e267b2e3fc78ef6f8a3f9351fe11cd077afa5a Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Sun, 26 Jun 2022 01:08:53 +0200 Subject: [PATCH] Upgrade system to NixOS 22.05 --- flake.lock | 52 ++++++++++++++-------------------------- flake.nix | 6 ++--- home/cli.nix | 7 ++---- hosts/thrall/default.nix | 4 ++-- 4 files changed, 25 insertions(+), 44 deletions(-) diff --git a/flake.lock b/flake.lock index cc8a611..62be3fc 100644 --- a/flake.lock +++ b/flake.lock @@ -58,63 +58,48 @@ ] }, "locked": { - "lastModified": 1651519540, - "narHash": "sha256-3k6p8VsTwwRPQjE8rrMh+o2AZACZn/eeYJ7ivdQ/Iro=", + "lastModified": 1655880690, + "narHash": "sha256-pO+EqUefNFolIWV1DHXPfI8NuUtD4fd7JFKoaCjVXOs=", "owner": "nix-community", "repo": "home-manager", - "rev": "d93d56ab8c1c6aa575854a79b9d2f69d491db7d0", + "rev": "a839432a5c3d2a762d68168093349097e6affb07", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-21.11", + "ref": "release-22.05", "repo": "home-manager", "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1653830209, - "narHash": "sha256-V+HnLKJzvk2HZcLUKt9z2puZ46vLo74chOakxbLfXek=", + "lastModified": 1656176842, + "narHash": "sha256-Z4/Vn51d0IBSN/DavVmWiIIvlYrsr2nP2b4gghRnQBY=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cc257c49c495b2d0d7d40c5753a452d0abc8adf3", + "rev": "5ec2af9f483a9acce9b5428b5f08363d60165c6d", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-21.11-small", + "ref": "nixos-22.05-small", "repo": "nixpkgs", "type": "github" } }, - "nixpkgs-21_05": { + "nixpkgs-22_05": { "locked": { - "lastModified": 1625692408, - "narHash": "sha256-e9L3TLLDVIJpMnHtiNHJE62oOh6emRtSZ244bgYJUZs=", + "lastModified": 1656007306, + "narHash": "sha256-MsC44YZ6wuBwn5Bu8T+RVoQWlp2l5BR6hhmNoAAHIEw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c06613c25df3fe1dd26243847a3c105cf6770627", + "rev": "ccf8bdf72624521358be6bb7d9b524c4cbcf7aff", "type": "github" }, "original": { "id": "nixpkgs", - "ref": "nixos-21.05", - "type": "indirect" - } - }, - "nixpkgs-21_11": { - "locked": { - "lastModified": 1638371214, - "narHash": "sha256-0kE6KhgH7n0vyuX4aUoGsGIQOqjIx2fJavpCWtn73rc=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "a640d8394f34714578f3e6335fc767d0755d78f9", - "type": "github" - }, - "original": { - "id": "nixpkgs", - "ref": "nixos-21.11", + "ref": "nixos-22.05", "type": "indirect" } }, @@ -133,21 +118,20 @@ "nixpkgs": [ "nixpkgs" ], - "nixpkgs-21_05": "nixpkgs-21_05", - "nixpkgs-21_11": "nixpkgs-21_11", + "nixpkgs-22_05": "nixpkgs-22_05", "utils": "utils" }, "locked": { - "lastModified": 1638911354, - "narHash": "sha256-hNhzLOp+dApEY15vwLAQZu+sjEQbJcOXCaSfAT6lpsQ=", + "lastModified": 1655930346, + "narHash": "sha256-ht56HHOzEhjeIgAv5ZNFjSVX/in1YlUs0HG9c1EUXTM=", "owner": "simple-nixos-mailserver", "repo": "nixos-mailserver", - "rev": "6e3a7b2ea6f0d68b82027b988aa25d3423787303", + "rev": "f535d8123c4761b2ed8138f3d202ea710a334a1d", "type": "gitlab" }, "original": { "owner": "simple-nixos-mailserver", - "ref": "nixos-21.11", + "ref": "nixos-22.05", "repo": "nixos-mailserver", "type": "gitlab" } diff --git a/flake.nix b/flake.nix index d48c84f..84e1634 100644 --- a/flake.nix +++ b/flake.nix @@ -1,16 +1,16 @@ { inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11-small"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05-small"; utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1"; hm = { - url = "github:nix-community/home-manager/release-21.11"; + url = "github:nix-community/home-manager/release-22.05"; inputs.nixpkgs.follows = "nixpkgs"; }; # simple mailserver snm = { - url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-21.11"; + url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-22.05"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "utils/flake-utils"; }; diff --git a/home/cli.nix b/home/cli.nix index 209592e..1ec52f9 100644 --- a/home/cli.nix +++ b/home/cli.nix @@ -39,7 +39,7 @@ hledger-web hledger-iadd hledger-ui - smos + #smos #haskellPackages.patat # terminal based presentations using pandoc # editors @@ -96,10 +96,7 @@ direnv = { enable = true; - nix-direnv = { - enable = true; - enableFlakes = true; - }; + nix-direnv = { enable = true; }; enableZshIntegration = true; enableBashIntegration = true; }; diff --git a/hosts/thrall/default.nix b/hosts/thrall/default.nix index 5e17095..81598cd 100644 --- a/hosts/thrall/default.nix +++ b/hosts/thrall/default.nix @@ -28,7 +28,7 @@ # boot.loader.efi.efiSysMountPoint = "/boot/efi"; # Define on which hard drive you want to install Grub. boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only - boot.loader.systemd-boot.enable = true; + # boot.loader.systemd-boot.enable = true; # Set your time zone. time.timeZone = "Europe/Berlin"; @@ -87,7 +87,7 @@ security.acme = { acceptTerms = true; - email = "alex@jakalx.net"; + defaults.email = "alex@jakalx.net"; }; security.sudo = {