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

feat: get krebs stuff from stockholm flake

This commit is contained in:
2023-02-28 21:32:42 +01:00
parent d2fc37a70f
commit 9d61f006a6
18 changed files with 155 additions and 635 deletions

View File

@@ -13,7 +13,10 @@ in {
imports = [
inputs.self.nixosModules.system-dependent
inputs.self.nixosModules.traadfri
inputs.self.nixosModules.power-action
inputs.stockholm.nixosModules.power-action
{
nixpkgs.config.overlays = [inputs.nix-writers];
}
{
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
niveumPackages.hc # print files as qr codes
inputs.stockholm.packages.x86_64-linux.hc # print files as qr codes
yt-dlp
espeak
bc # calculator
@@ -214,10 +214,10 @@ in {
niveumPackages.nix-index-update
#krebs
niveumPackages.dic
niveumPackages.cyberlocker-tools
niveumPackages.untilport
niveumPackages.kpaste
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
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 {
services.power-action = {
krebs.power-action = {
enable = true;
plans.suspend = {
upperLimit = 7;
@@ -19,6 +19,6 @@ in {
};
security.sudo.extraConfig = ''
${config.services.power-action.user} ALL= (root) NOPASSWD: ${suspend}
${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${suspend}
'';
}