NixOS-Config/home-manager/desktop/default.nix

206 lines
4.6 KiB
Nix
Raw Normal View History

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
# You can import other home-manager modules here
imports = [
# If you want to use modules your own flake exports (from modules/home-manager):
# outputs.homeManagerModules.example
# Or modules exported from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
./package-configs/plasma-desktop.nix
./package-configs/firefox.nix
./package-configs/konsole
./package-configs/foot
];
nixpkgs = {
# You can add overlays here
overlays = [
# You can also add overlays exported from other flakes:
# neovim-nightly-overlay.overlays.default
# Or define it inline, for example:
# (final: prev: {
# hi = final.hello.overrideAttrs (oldAttrs: {
# patches = [ ./change-hello-to-hi.patch ];
# });
# })
(final: prev: {
catppuccin-vsc = final.catppuccin-vsc.overrideAttrs (oldAttrs: {
accent = "mauve";
boldKeywords = true;
italicComments = true;
italicKeywords = true;
extraBordersEnabled = false;
workbenchMode = "default";
bracketMode = "rainbow";
colorOverrides = {};
customUIColors = {};
});
})
(final: prev: {
catppuccin-vsc = final.catppuccin-vsc.overrideAttrs (oldAttrs: {
accent = "mauve";
boldKeywords = true;
italicComments = true;
italicKeywords = true;
extraBordersEnabled = false;
workbenchMode = "default";
bracketMode = "rainbow";
colorOverrides = {};
customUIColors = {};
});
})
];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
};
};
home = {
username = "lillian";
homeDirectory = "/home/lillian";
};
# Add stuff for your user as you see fit:
# programs.neovim.enable = true;
# home.packages = with pkgs; [ steam ];
home.packages = with pkgs; [
# Coding:
2023-12-19 10:42:48 +01:00
direnv
git
2024-04-16 13:46:51 +02:00
git-credential-manager
git-credential-manager
2024-01-24 15:14:44 +01:00
ruff
kate
# Chat applications:
signal-desktop
2023-11-28 10:39:10 +01:00
webcord-vencord
# Gaming:
prismlauncher
steam
gamescope
# Multimedia:
freetube
vlc
# Office applications:
onlyoffice-bin
gimp
2023-12-15 21:29:34 +01:00
thunderbird
# System tools:
rage
flameshot
fzf
nextcloud-client
nitrokey-app
protonvpn-gui
virtualbox
#watchmate
qbittorrent
2024-04-26 23:10:38 +02:00
# Theming:
catppuccin-cursors
2024-04-27 13:57:24 +02:00
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
2024-04-27 13:57:24 +02:00
})
2024-04-26 23:10:38 +02:00
catppuccin-sddm-corners
# Theming:
catppuccin-cursors
(catppuccin-kde.override {
flavour = ["macchiato"];
accents = ["mauve"];
})
catppuccin-sddm-corners
# Web browsing:
2024-04-01 00:11:01 +02:00
firefoxpwa
firefoxpwa
ungoogled-chromium
];
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
catppuccin.catppuccin-vsc
2024-04-26 23:10:38 +02:00
catppuccin.catppuccin-vsc-icons
2024-03-01 10:21:47 +01:00
charliermarsh.ruff
eamodio.gitlens
github.vscode-pull-request-github
jnoortheen.nix-ide
kamadorueda.alejandra
2024-01-24 11:38:05 +01:00
mkhl.direnv
ms-toolsai.jupyter
ms-pyright.pyright
2024-01-16 15:38:26 +01:00
ms-python.black-formatter
oderwat.indent-rainbow
rust-lang.rust-analyzer
yzhang.markdown-all-in-one
];
};
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
];
};
# Enable home-manager and git
programs.home-manager.enable = true;
programs.git = {
enable = true;
userEmail = "git@lillianviolet.dev";
2023-11-22 18:27:35 +01:00
userName = "Lillian-Violet";
extraConfig = {
init = {
defaultBranch = "main";
};
};
2024-01-23 10:51:02 +01:00
ignores = [
2024-01-23 10:56:09 +01:00
"*.direnv"
"*.vscode"
2024-02-08 12:55:17 +01:00
".envrc"
2024-04-25 12:51:54 +02:00
"venv"
"venv"
2024-01-23 10:51:02 +01:00
];
};
2023-11-22 13:14:27 +01:00
2024-02-07 14:40:25 +01:00
programs.gpg.enable = true;
2024-02-07 14:39:27 +01:00
programs.gpg.settings = {
default-key = "0d43 5407 034c 2ad9 2d42 799d 280e 061d ff60 0f0d";
default-recipient-self = true;
auto-key-locate = "local,wkd,keyserver";
keyserver = "hkps://keys.openpgp.org";
auto-key-retrieve = true;
auto-key-import = true;
keyserver-options = "honor-keyserver-url";
no-autostart = true;
};
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
}