add newsboat
This commit is contained in:
parent
45b4b8c88c
commit
993957d14a
3 changed files with 18 additions and 3 deletions
|
@ -78,6 +78,7 @@
|
|||
search.enable = true;
|
||||
};
|
||||
zsh.enable = true;
|
||||
newsboat.enable = true;
|
||||
};
|
||||
media = {
|
||||
mpd.enable = true;
|
||||
|
@ -93,9 +94,6 @@
|
|||
users.users.sako= {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
newsboat
|
||||
];
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
imports = [
|
||||
./nix
|
||||
./zsh
|
||||
./newsboat
|
||||
];
|
||||
}
|
||||
|
|
16
modules/shell/newsboat/default.nix
Normal file
16
modules/shell/newsboat/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue