shuffle some prefs

This commit is contained in:
atagen 2024-05-11 15:10:24 +10:00
parent 3192b6ca09
commit 83f64681fd
23 changed files with 89 additions and 68 deletions

23
home/modules/chat.nix Normal file
View file

@ -0,0 +1,23 @@
{config, ...}: {
imports = [
../util/firefox-webapp.nix
../util/flatpak.nix
];
programs.firefox.webapps = {
"Microsoft-Teams" = {
url = "https://teams.microsoft.com";
id = 1;
extraSettings = config.programs.firefox.profiles.default.settings;
name = "Microsoft Teams";
icon = ../icons/ms_teams.png;
};
"Facebook-Messenger" = {
url = "https://www.messenger.com";
id = 2;
extraSettings = config.programs.firefox.profiles.default.settings;
name = "Facebook Messenger";
icon = ../icons/fb_msg.png;
};
};
flatpaks = ["im.fluffychat.Fluffychat"];
}

18
home/modules/cli.nix Normal file
View file

@ -0,0 +1,18 @@
{pkgs, ...}: {
imports = [
../programs/kitty.nix
../programs/zsh.nix
../programs/xresources.nix
../programs/helix.nix
../programs/atuin.nix
];
home.packages = with pkgs; [
btop
bat
ripgrep
fd
lazygit
zoxide
zellij
];
}

10
home/modules/creative.nix Normal file
View file

@ -0,0 +1,10 @@
{...}: {
imports = [
../util/flatpak.nix
];
flatpaks = [
"ar.com.tuxguitar.TuxGuitar"
"org.inkscape.Inkscape"
"com.github.PintaProject.Pinta"
];
}

16
home/modules/desktop.nix Normal file
View file

@ -0,0 +1,16 @@
{pkgs, ...}: {
imports = [
./media-players.nix
./webapps.nix
./documents.nix
./creative.nix
./chat.nix
../programs/firefox.nix
];
home.packages = with pkgs; [
gnome.file-roller
gnome.nautilus
thunderbird
keepassxc
];
}

26
home/modules/dev.nix Normal file
View file

@ -0,0 +1,26 @@
{pkgs, ...}: {
imports = [
../programs/vscode.nix
];
home.packages = with pkgs; [
git-credential-keepassxc
direnv
];
programs.direnv = {
enable = true;
nix-direnv = {
enable = true;
};
};
programs.git = {
enable = true;
userName = "atagen";
userEmail = "atagen@boss.co";
extraConfig = {
credential.helper = "keepassxc";
};
};
}

View file

@ -0,0 +1,18 @@
{...}: {
imports = [
../util/flatpak.nix
];
flatpaks = [
{
name = "md.obsidian.Obsidian";
overrides = {
Environment = {
OBSIDIAN_DISABLE_GPU = "1";
};
};
}
# "org.onlyoffice.desktopeditors"
"org.libreoffice.LibreOffice"
"com.jgraph.drawio.desktop"
];
}

View file

@ -0,0 +1,10 @@
{pkgs, ...}: {
home.packages = with pkgs; [
mpv
imv
strawberry
zathura
# libnotify
playerctl
];
}

30
home/modules/theming.nix Normal file
View file

@ -0,0 +1,30 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gtk-engine-murrine
];
fonts.fontconfig.enable = true;
qt = {
enable = true;
style.name = "adwaita-dark";
platformTheme.name = "adwaita";
};
gtk = with pkgs;
with rice; {
enable = true;
# theme = with gtk-theme; {
# inherit package name;
# };
theme = {
name = "Adwaita-dark";
package = adw-gtk3; # cosmic
};
iconTheme = with icons; {
inherit package name;
};
font = with fonts.sans; {
inherit name size package;
};
};
}

21
home/modules/webapps.nix Normal file
View file

@ -0,0 +1,21 @@
{config, ...}: {
imports = [
../util/firefox-webapp.nix
];
programs.firefox.webapps = {
"Syncthing" = {
url = "http://127.0.0.1:8384";
id = 3;
extraSettings = config.programs.firefox.profiles.default.settings;
name = "Syncthing";
icon = ../icons/syncthing.png;
};
"StudyTAFE" = {
url = "https://www.studytafensw.edu.au";
id = 4;
extraSettings = config.programs.firefox.profiles.default.settings;
name = "TAFE Study";
icon = ../icons/tafe.jpg;
};
};
}