1
0

Compare commits

..

No commits in common. "a5912941e41aedab7f14b002963d3febc596124f" and "8e96b86fcde37b2101aa2cc232b1a69928b02d88" have entirely different histories.

3 changed files with 10 additions and 28 deletions

View File

@ -30,11 +30,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1704729137, "lastModified": 1686673969,
"narHash": "sha256-JnhA+YiOFYwWxW96xJZuyIV6BI8+DgiZm2w9NtO67+c=", "narHash": "sha256-xXyhXuMwl3tjBFWemcqnkoyJblSWrbifij/VFjO0pi4=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "6225b664a76b71f01f15d8e4a93c8c2ef0e6e1fe", "rev": "9dc6bca6b0d4303697e074103684feb6a0461fcc",
"revCount": 4, "revCount": 2,
"type": "git", "type": "git",
"url": "https://git.clerie.de/clerie/chaosevents.git" "url": "https://git.clerie.de/clerie/chaosevents.git"
}, },
@ -219,11 +219,11 @@
}, },
"nixpkgs-krypton": { "nixpkgs-krypton": {
"locked": { "locked": {
"lastModified": 1704538339, "lastModified": 1704194953,
"narHash": "sha256-1734d3mQuux9ySvwf6axRWZRBhtcZA9Q8eftD6EZg6U=", "narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46ae0210ce163b3cba6c7da08840c1d63de9c701", "rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -235,11 +235,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1704538339, "lastModified": 1704194953,
"narHash": "sha256-1734d3mQuux9ySvwf6axRWZRBhtcZA9Q8eftD6EZg6U=", "narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "46ae0210ce163b3cba6c7da08840c1d63de9c701", "rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -8,7 +8,6 @@
../../configuration/desktop ../../configuration/desktop
./backup.nix ./backup.nix
./initrd.nix
./network.nix ./network.nix
./programs.nix ./programs.nix
]; ];

View File

@ -1,17 +0,0 @@
{ ... }:
{
boot.initrd.kernelModules = [ "thinkpad_acpi" ];
boot.initrd.preLVMCommands = ''
# Turn on keyboard backlight before asking for drive encryption password
echo 1 > /sys/class/leds/tpacpi::kbd_backlight/brightness
# Show battery levels
echo
echo "Battery level: External $(cat /sys/class/power_supply/BAT1/capacity)% Internal $(cat /sys/class/power_supply/BAT0/capacity)%"
echo
'';
}