moved things where they belong
This commit is contained in:
parent
d3c7401438
commit
9617d1d0c4
@ -1,11 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }: {
|
||||||
let
|
|
||||||
unstable = import
|
|
||||||
(builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master") {
|
|
||||||
config = config.nixpkgs.config;
|
|
||||||
};
|
|
||||||
vdhcoapp = pkgs.callPackage ../../pkgs/vdhcoapp/default.nix { };
|
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
# <agenix/modules/age.nix>
|
# <agenix/modules/age.nix>
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
@ -103,8 +96,6 @@ in {
|
|||||||
groups.nixremote.gid = 555;
|
groups.nixremote.gid = 555;
|
||||||
users = {
|
users = {
|
||||||
jawz.packages = (with pkgs; [
|
jawz.packages = (with pkgs; [
|
||||||
fooyin
|
|
||||||
vdhcoapp
|
|
||||||
gocryptfs # encrypted filesystem! shhh!!!
|
gocryptfs # encrypted filesystem! shhh!!!
|
||||||
torrenttools # create torrent files from the terminal!
|
torrenttools # create torrent files from the terminal!
|
||||||
vcsi # video thumbnails for torrents, can I replace it with ^?
|
vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }:
|
||||||
|
let vdhcoapp = pkgs.callPackage ../../pkgs/vdhcoapp/default.nix { };
|
||||||
|
in {
|
||||||
options.my.apps.internet.enable = lib.mkEnableOption "enable";
|
options.my.apps.internet.enable = lib.mkEnableOption "enable";
|
||||||
config = lib.mkIf config.my.apps.internet.enable {
|
config = lib.mkIf config.my.apps.internet.enable {
|
||||||
programs = {
|
programs = {
|
||||||
@ -10,6 +12,7 @@
|
|||||||
};
|
};
|
||||||
services.psd.enable = true;
|
services.psd.enable = true;
|
||||||
users.users.jawz.packages = with pkgs; [
|
users.users.jawz.packages = with pkgs; [
|
||||||
|
vdhcoapp # video download helper assistant
|
||||||
nextcloud-client # self-hosted google-drive alternative
|
nextcloud-client # self-hosted google-drive alternative
|
||||||
fragments # beautiful torrent client
|
fragments # beautiful torrent client
|
||||||
protonmail-bridge # bridge for protonmail
|
protonmail-bridge # bridge for protonmail
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
options.my.apps.multimedia.enable = lib.mkEnableOption "enable";
|
options.my.apps.multimedia.enable = lib.mkEnableOption "enable";
|
||||||
config = lib.mkIf config.my.apps.multimedia.enable {
|
config = lib.mkIf config.my.apps.multimedia.enable {
|
||||||
users.users.jawz.packages = with pkgs; [
|
users.users.jawz.packages = with pkgs; [
|
||||||
|
fooyin # foobar inspired music player
|
||||||
pitivi # video editor
|
pitivi # video editor
|
||||||
celluloid # video player
|
celluloid # video player
|
||||||
curtail # image compressor
|
curtail # image compressor
|
||||||
|
|||||||
23
pkgs/pureref/default.nix
Normal file
23
pkgs/pureref/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ lib, appimageTools, runCommand, curl, gnugrep, cacert }:
|
||||||
|
|
||||||
|
appimageTools.wrapType1 rec {
|
||||||
|
pname = "pureref";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = runCommand "PureRef-${version}_x64.Appimage" {
|
||||||
|
nativeBuildInputs = [ curl gnugrep cacert ];
|
||||||
|
outputHash = "sha256-da/dH0ruI562JylpvE9f2zMUSJ56+T7Y0xlP/xr3yhY=";
|
||||||
|
} ''
|
||||||
|
key="$(curl "https://www.pureref.com/download.php" --silent | grep '%3D%3D' | cut -d '"' -f2)"
|
||||||
|
curl "https://www.pureref.com/files/build.php?build=LINUX64.Appimage&version=${version}&downloadKey=$key" --output $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Reference Image Viewer";
|
||||||
|
homepage = "https://www.pureref.com";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ elnudev ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user