add newsboat

This commit is contained in:
Sakooooo 2023-07-21 20:48:10 +03:00
parent 45b4b8c88c
commit 993957d14a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 18 additions and 3 deletions

View file

@ -78,6 +78,7 @@
search.enable = true; search.enable = true;
}; };
zsh.enable = true; zsh.enable = true;
newsboat.enable = true;
}; };
media = { media = {
mpd.enable = true; mpd.enable = true;
@ -93,9 +94,6 @@
users.users.sako= { users.users.sako= {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [
newsboat
];
}; };
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];

View file

@ -2,5 +2,6 @@
imports = [ imports = [
./nix ./nix
./zsh ./zsh
./newsboat
]; ];
} }

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.shell.newsboat;
in
{
options.modules.shell.newsboat= {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
newsboat
];
};
}