2020-06-17 19:01:57 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.profiles.base;
|
|
|
|
in {
|
|
|
|
|
|
|
|
options.machine = {
|
|
|
|
name = lib.mkOption {
|
|
|
|
type = "str";
|
|
|
|
};
|
|
|
|
eth = lib.mkOption {};
|
|
|
|
};
|
|
|
|
|
|
|
|
options.profiles.base = {
|
|
|
|
enable = lib.mkEnableOption "The base profile, should be always enabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
2020-07-09 12:36:16 +02:00
|
|
|
#libguestfs
|
|
|
|
#ansible
|
2020-07-11 04:08:58 +02:00
|
|
|
#nixops
|
2020-06-17 19:01:57 +02:00
|
|
|
ldns
|
|
|
|
|
2020-07-11 04:08:58 +02:00
|
|
|
lsof
|
|
|
|
|
2020-06-17 19:01:57 +02:00
|
|
|
htop
|
|
|
|
|
|
|
|
file
|
|
|
|
tmux
|
2020-07-11 04:08:58 +02:00
|
|
|
|
|
|
|
unzip
|
|
|
|
p7zip
|
|
|
|
parallel
|
|
|
|
sshfs
|
|
|
|
jq
|
2020-06-17 19:01:57 +02:00
|
|
|
|
2020-07-11 04:08:58 +02:00
|
|
|
ncdu
|
2020-06-17 19:01:57 +02:00
|
|
|
|
2020-07-11 04:08:58 +02:00
|
|
|
bat
|
|
|
|
ripgrep
|
|
|
|
|
|
|
|
mkvtoolnix
|
|
|
|
# unstable.youtubeDL
|
|
|
|
ffmpeg-full
|
2020-06-17 19:01:57 +02:00
|
|
|
|
2020-07-11 04:08:58 +02:00
|
|
|
] ++ lib.optionals config.profiles.gui.enable [
|
|
|
|
# virtmanager
|
|
|
|
# virt-viewer
|
|
|
|
|
2020-06-17 19:01:57 +02:00
|
|
|
mpv
|
|
|
|
sxiv
|
|
|
|
spotify
|
|
|
|
|
|
|
|
mumble
|
|
|
|
|
|
|
|
dolphin
|
2020-07-11 04:08:58 +02:00
|
|
|
konsole
|
2020-06-17 19:01:57 +02:00
|
|
|
krename
|
|
|
|
kdeApplications.dolphin-plugins
|
|
|
|
ffmpegthumbs
|
|
|
|
kdeApplications.kdegraphics-thumbnailers
|
|
|
|
kdeFrameworks.kded
|
|
|
|
kdeFrameworks.kio
|
|
|
|
kdeApplications.kio-extras
|
|
|
|
|
2020-12-12 15:26:49 +01:00
|
|
|
#dan.rank_photos
|
2020-06-17 19:01:57 +02:00
|
|
|
|
|
|
|
# ***REMOVED***
|
|
|
|
|
|
|
|
gnome3.gedit
|
|
|
|
unstable.vscode
|
2020-07-09 12:36:16 +02:00
|
|
|
# texlive.combined.scheme-full
|
|
|
|
# kile
|
2020-06-17 19:01:57 +02:00
|
|
|
libreoffice-unwrapped
|
|
|
|
|
|
|
|
gimp
|
2020-07-09 12:36:16 +02:00
|
|
|
# krita
|
|
|
|
# inkscape
|
|
|
|
# digikam
|
|
|
|
# godot
|
|
|
|
# blender
|
|
|
|
# audacity
|
2020-07-11 04:08:58 +02:00
|
|
|
# mixxx
|
2020-07-09 12:36:16 +02:00
|
|
|
# ardour
|
2020-06-17 19:01:57 +02:00
|
|
|
kdenlive
|
|
|
|
frei0r
|
2020-07-11 04:08:58 +02:00
|
|
|
|
2020-12-12 15:26:49 +01:00
|
|
|
#geogebra
|
2020-06-17 19:01:57 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.firefox = {
|
2020-07-11 04:08:58 +02:00
|
|
|
enable = config.profiles.gui.enable;
|
2020-06-17 19:01:57 +02:00
|
|
|
|
|
|
|
package = pkgs.firefox.override { extraNativeMessagingHosts = [ pkgs.dan.radical-native ]; };
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.obs-studio = {
|
2020-07-11 04:08:58 +02:00
|
|
|
enable = config.profiles.gui.enable;
|
2020-06-17 19:01:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userEmail = "daniel.olsen99@gmail.com";
|
|
|
|
userName = "Daniel Olsen";
|
2020-12-12 15:26:49 +01:00
|
|
|
extraConfig = {
|
|
|
|
pull.rebase = true;
|
|
|
|
};
|
2020-06-17 19:01:57 +02:00
|
|
|
# delta.enable = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# services.kdeconnect = {
|
|
|
|
# enable = true;
|
|
|
|
# indicator = true;
|
|
|
|
# };
|
|
|
|
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
defaultCacheTtl = 1800;
|
|
|
|
enableSshSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.fontconfig.enable = true;
|
|
|
|
};
|
|
|
|
}
|