56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{ den, inputs, ... }:
|
|
{
|
|
lux.nix = {
|
|
includes = [
|
|
(den.lib.perHost {
|
|
nixos = {
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix = {
|
|
gc.automatic = true;
|
|
optimise.automatic = true;
|
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
|
channel.enable = false;
|
|
|
|
settings = {
|
|
trusted-users = [ "@wheel" ];
|
|
use-xdg-base-directories = true;
|
|
auto-optimise-store = true;
|
|
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
})
|
|
];
|
|
|
|
homeManager =
|
|
{ pkgs, ... }:
|
|
{
|
|
home.packages = [
|
|
(pkgs.writeShellApplication {
|
|
name = "ns";
|
|
runtimeInputs = [
|
|
pkgs.fzf
|
|
pkgs.nix-search-tv
|
|
];
|
|
text = builtins.readFile "${pkgs.nix-search-tv.src}/nixpkgs.sh";
|
|
})
|
|
];
|
|
|
|
programs.television = {
|
|
enable = true;
|
|
enableZshIntegration = false;
|
|
};
|
|
|
|
programs.nix-search-tv = {
|
|
enable = true;
|
|
enableTelevisionIntegration = true;
|
|
};
|
|
};
|
|
};
|
|
}
|