mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
some clean
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./gramps.nix
|
||||
./streamrip.nix
|
||||
./yt-dlp.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
xlib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
grampsPath = "${xlib.dirs.wsl-storage}/gramps";
|
||||
last-stable = import inputs.nixpkgs-last-unstable { system = "x86_64-linux"; };
|
||||
in
|
||||
{
|
||||
xdg = {
|
||||
configFile = {
|
||||
"grampsConfig" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
|
||||
target = "gramps";
|
||||
};
|
||||
};
|
||||
dataFile = {
|
||||
"grampsData" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink grampsPath;
|
||||
target = "gramps";
|
||||
};
|
||||
};
|
||||
};
|
||||
home.packages = [
|
||||
last-stable.gramps
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
xlib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
streamripPath = "${xlib.dirs.wsl-storage}/streamrip";
|
||||
in
|
||||
{
|
||||
xdg = {
|
||||
configFile = {
|
||||
"streamrip" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink streamripPath;
|
||||
target = "streamrip";
|
||||
};
|
||||
};
|
||||
};
|
||||
home.packages = [
|
||||
pkgs.streamrip
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
xlib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
streamripPath = "${xlib.dirs.wsl-storage}/streamrip";
|
||||
in
|
||||
{
|
||||
# xdg = {
|
||||
# configFile = {
|
||||
# "streamrip" = {
|
||||
# source = config.lib.file.mkOutOfStoreSymlink streamripPath;
|
||||
# target = "streamrip";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
home.packages = [
|
||||
pkgs.yt-dlp-light
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user