test systemd updates

This commit is contained in:
Rouven Seifert 2024-05-13 13:44:39 +02:00
parent d1773d8882
commit b6d25c0fbb
3 changed files with 11 additions and 8 deletions

View file

@ -332,17 +332,18 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1715447595, "lastModified": 1714430104,
"narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=", "narHash": "sha256-TGCTDeE8lEm/HC92Ev5ql2vx6Z4iUOwF2vsmLn/UjkM=",
"owner": "NixOS", "owner": "nikstur",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "062ca2a9370a27a35c524dc82d540e6e9824b652", "rev": "12215c110b0f3a652953d215e827fd4b56e0f536",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "nikstur",
"ref": "nixos-unstable", "ref": "systemd-256",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {

View file

@ -2,7 +2,8 @@
description = "My nix setup"; description = "My nix setup";
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; # nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs.url = "github:nikstur/nixpkgs/systemd-256";
nix-index-database = { nix-index-database = {
url = "github:nix-community/nix-index-database"; url = "github:nix-community/nix-index-database";

View file

@ -13,6 +13,7 @@
loader.efi.canTouchEfiVariables = true; loader.efi.canTouchEfiVariables = true;
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
tmp.useTmpfs = true; tmp.useTmpfs = true;
initrd.systemd.enable = true;
}; };
networking.hostName = "vm"; networking.hostName = "vm";
# environment.persistence."/nix/persistent/system" = { # environment.persistence."/nix/persistent/system" = {