From b6d25c0fbb143ef2ab9a2f74683c0e59c3a77e08 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Mon, 13 May 2024 13:44:39 +0200 Subject: [PATCH] test systemd updates --- flake.lock | 15 ++++++++------- flake.nix | 3 ++- hosts/vm/default.nix | 1 + 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index 34fb717..ea0187c 100644 --- a/flake.lock +++ b/flake.lock @@ -332,17 +332,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 1715447595, - "narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=", - "owner": "NixOS", + "lastModified": 1714430104, + "narHash": "sha256-TGCTDeE8lEm/HC92Ev5ql2vx6Z4iUOwF2vsmLn/UjkM=", + "owner": "nikstur", "repo": "nixpkgs", - "rev": "062ca2a9370a27a35c524dc82d540e6e9824b652", + "rev": "12215c110b0f3a652953d215e827fd4b56e0f536", "type": "github" }, "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" + "owner": "nikstur", + "ref": "systemd-256", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs-lib": { diff --git a/flake.nix b/flake.nix index b25b850..6f78fa5 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,8 @@ description = "My nix setup"; inputs = { - nixpkgs.url = "nixpkgs/nixos-unstable"; + # nixpkgs.url = "nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nikstur/nixpkgs/systemd-256"; nix-index-database = { url = "github:nix-community/nix-index-database"; diff --git a/hosts/vm/default.nix b/hosts/vm/default.nix index fd17428..a2befa2 100644 --- a/hosts/vm/default.nix +++ b/hosts/vm/default.nix @@ -13,6 +13,7 @@ loader.efi.canTouchEfiVariables = true; kernelPackages = pkgs.linuxPackages_latest; tmp.useTmpfs = true; + initrd.systemd.enable = true; }; networking.hostName = "vm"; # environment.persistence."/nix/persistent/system" = {