Some more renaming and moving

Move more to naming folders after function than specific
program (exception being Emacs...), renamed firefox -> browser and obs
-> streaming

Also move importing obs/streaming to personal.nix instead of default

Move Nyxt config into browser directory

Add some KDE apps: ktorrent for personal, kdenlive and krita for
streaming
This commit is contained in:
Evie Litherland-Smith 2024-06-22 16:28:15 +01:00
parent 1abfec381a
commit e4516d5585
13 changed files with 22 additions and 33 deletions

View file

@ -4,8 +4,7 @@
./programs/desktop/default.nix ./programs/desktop/default.nix
./programs/shell/default.nix ./programs/shell/default.nix
./programs/emacs/default.nix ./programs/emacs/default.nix
./programs/firefox/default.nix ./programs/browser/default.nix
./programs/obs/default.nix
# Services # Services
./services/email/work.nix # TODO combine again at some point ./services/email/work.nix # TODO combine again at some point
./services/password-store/default.nix ./services/password-store/default.nix

View file

@ -68,7 +68,6 @@
package = packages.iosevka-custom-nerdfont; package = packages.iosevka-custom-nerdfont;
}; };
}; };
bookmarks = builtins.fromJSON (builtins.readFile ./bookmarks.json);
}; };
defaultModules = [ defaultModules = [
plasma-manager.homeManagerModules.plasma-manager plasma-manager.homeManagerModules.plasma-manager

View file

@ -1,11 +1,14 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./default.nix # Programs
../programs/games/default.nix ./programs/games/default.nix
./programs/streaming/default.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs;
with kdePackages; [
blender blender
freecad freecad
prusa-slicer prusa-slicer
ktorrent
]; ];
} }

View file

@ -0,0 +1 @@
{...}: {imports = [./firefox.nix];}

View file

@ -1,9 +1,4 @@
{ {pkgs, ...}: {
lib,
pkgs,
bookmarks,
...
}: {
programs = { programs = {
browserpass = { browserpass = {
enable = true; enable = true;
@ -95,7 +90,7 @@
StartDownloadsInTempDirectory = true; StartDownloadsInTempDirectory = true;
}; };
profiles.default = { profiles.default = {
inherit bookmarks; bookmarks = builtins.fromJSON (builtins.readFile ./bookmarks.json);
settings = { settings = {
"app.shield.optoutstudies.enabled" = false; "app.shield.optoutstudies.enabled" = false;
"browser.bookmarks.addedImportButton" = false; "browser.bookmarks.addedImportButton" = false;

View file

@ -1,17 +0,0 @@
{config, ...}: {
programs.cava = {
enable = true;
settings = {
color = with config.scheme.withHashtag; {
gradient = 1;
gradient_count = 6;
gradient_color_1 = "'${red}'";
gradient_color_2 = "'${yellow}'";
gradient_color_3 = "'${green}'";
gradient_color_4 = "'${cyan}'";
gradient_color_5 = "'${blue}'";
gradient_color_6 = "'${magenta}'";
};
};
};
}

View file

@ -1,4 +1,9 @@
{fonts, ...}: { {
pkgs,
fonts,
...
}: {
home.packages = [pkgs.kdePackages.yakuake];
programs.konsole = { programs.konsole = {
enable = true; enable = true;
defaultProfile = "One-Light"; defaultProfile = "One-Light";

View file

@ -1,5 +1,10 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [helvum]; home.packages = with pkgs;
with kdePackages; [
helvum
kdenlive
krita
];
programs.obs-studio = { programs.obs-studio = {
enable = true; enable = true;
plugins = with pkgs.obs-studio-plugins; [ plugins = with pkgs.obs-studio-plugins; [

View file

@ -4,7 +4,6 @@
pkgs, pkgs,
... ...
}: { }: {
imports = [./default.nix];
home.packages = with pkgs; [ home.packages = with pkgs; [
twinkle twinkle
teams-for-linux teams-for-linux