vm : another systemd test

This commit is contained in:
Rouven Seifert 2024-05-13 14:22:08 +02:00
parent b81eb6fa54
commit fcfb3e50b1
3 changed files with 29 additions and 12 deletions

View file

@ -332,18 +332,17 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1714430104, "lastModified": 1715447595,
"narHash": "sha256-TGCTDeE8lEm/HC92Ev5ql2vx6Z4iUOwF2vsmLn/UjkM=", "narHash": "sha256-VsVAUQOj/cS1LCOmMjAGeRksXIAdPnFIjCQ0XLkCsT0=",
"owner": "nikstur", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "12215c110b0f3a652953d215e827fd4b56e0f536", "rev": "062ca2a9370a27a35c524dc82d540e6e9824b652",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nikstur", "id": "nixpkgs",
"ref": "systemd-256", "ref": "nixos-unstable",
"repo": "nixpkgs", "type": "indirect"
"type": "github"
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
@ -377,6 +376,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-systemd-256": {
"locked": {
"lastModified": 1714430104,
"narHash": "sha256-TGCTDeE8lEm/HC92Ev5ql2vx6Z4iUOwF2vsmLn/UjkM=",
"owner": "nikstur",
"repo": "nixpkgs",
"rev": "12215c110b0f3a652953d215e827fd4b56e0f536",
"type": "github"
},
"original": {
"owner": "nikstur",
"ref": "systemd-256",
"repo": "nixpkgs",
"type": "github"
}
},
"pfersel": { "pfersel": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -458,6 +473,7 @@
"nix-colors": "nix-colors", "nix-colors": "nix-colors",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-systemd-256": "nixpkgs-systemd-256",
"pfersel": "pfersel", "pfersel": "pfersel",
"purge": "purge", "purge": "purge",
"trucksimulatorbot": "trucksimulatorbot" "trucksimulatorbot": "trucksimulatorbot"

View file

@ -2,8 +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"; nixpkgs-systemd-256.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";
@ -51,6 +51,7 @@
outputs = outputs =
{ self { self
, nixpkgs , nixpkgs
, nixpkgs-systemd-256
, home-manager , home-manager
, dns , dns
, nix-index-database , nix-index-database

View file

@ -1,9 +1,9 @@
{ pkgs, lib, ... }: { pkgs, lib, nixpkgs-systemd-256, ... }:
{ {
systemd = { systemd = {
package = lib.mkDefault (pkgs.systemd.override { withHomed = false; }); package = lib.mkDefault (nixpkgs-systemd-256.legacyPackages.x86_64-linux.systemd.override { withHomed = false; });
sleep.extraConfig = '' sleep.extraConfig = ''
HibernateDelaySec=2h HibernateDelaySec=2h
''; '';