1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: independence from stockholm

This commit is contained in:
2023-03-26 19:24:38 +02:00
parent f805550ff8
commit 13e674389d
18 changed files with 651 additions and 171 deletions

View File

@@ -13,10 +13,7 @@ in {
imports = [
inputs.self.nixosModules.system-dependent
inputs.self.nixosModules.traadfri
inputs.stockholm.nixosModules.power-action
{
nixpkgs.config.overlays = [inputs.nix-writers];
}
inputs.self.nixosModules.power-action
{
boot.supportedFilesystems = ["ntfs"];
}

View File

@@ -134,7 +134,7 @@ in {
okular # the word is nucular
xournalpp # for annotating pdfs
pdfpc # presenter console for pdf slides
inputs.stockholm.packages.x86_64-linux.hc # print files as qr codes
niveumPackages.hc # print files as qr codes
yt-dlp
espeak
bc # calculator
@@ -214,10 +214,10 @@ in {
niveumPackages.nix-index-update
#krebs
inputs.stockholm.packages.x86_64-linux.dic
inputs.stockholm.packages.x86_64-linux.cyberlocker-tools
inputs.stockholm.packages.x86_64-linux.untilport
inputs.stockholm.packages.x86_64-linux.kpaste
niveumPackages.dic
niveumPackages.cyberlocker-tools
niveumPackages.untilport
niveumPackages.kpaste
config.nur.repos.mic92.ircsink
(python3.withPackages (py: [

View File

@@ -5,7 +5,7 @@
}: let
suspend = pkgs.writers.writeDash "suspend" "${pkgs.systemd}/bin/systemctl suspend";
in {
krebs.power-action = {
services.power-action = {
enable = true;
plans.suspend = {
upperLimit = 7;
@@ -19,6 +19,6 @@ in {
};
security.sudo.extraConfig = ''
${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${suspend}
${config.services.power-action.user} ALL= (root) NOPASSWD: ${suspend}
'';
}