2023-11-13 21:14:59 +01:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
outputs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-11-19 23:12:21 +01:00
|
|
|
# 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
|
2024-04-29 20:30:22 +02:00
|
|
|
./package-configs/plasma-desktop.nix
|
|
|
|
./package-configs/firefox.nix
|
2024-05-06 15:55:51 +02:00
|
|
|
./package-configs/konsole
|
2024-05-11 21:26:22 +02:00
|
|
|
./package-configs/foot
|
2023-11-19 23:12:21 +01:00
|
|
|
];
|
2023-11-13 21:14:59 +01:00
|
|
|
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 ];
|
|
|
|
# });
|
|
|
|
# })
|
2024-04-27 14:20:06 +02:00
|
|
|
(final: prev: {
|
|
|
|
catppuccin-vsc = final.catppuccin-vsc.overrideAttrs (oldAttrs: {
|
2024-04-27 14:25:41 +02:00
|
|
|
accent = "mauve";
|
2024-04-27 14:20:06 +02:00
|
|
|
boldKeywords = true;
|
|
|
|
italicComments = true;
|
|
|
|
italicKeywords = true;
|
|
|
|
extraBordersEnabled = false;
|
|
|
|
workbenchMode = "default";
|
|
|
|
bracketMode = "rainbow";
|
|
|
|
colorOverrides = {};
|
|
|
|
customUIColors = {};
|
|
|
|
});
|
|
|
|
})
|
2024-05-06 15:55:51 +02:00
|
|
|
(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 = {};
|
|
|
|
});
|
|
|
|
})
|
2023-11-13 21:14:59 +01:00
|
|
|
];
|
|
|
|
# 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
|
2023-11-13 21:14:59 +01:00
|
|
|
git
|
2024-04-16 13:46:51 +02:00
|
|
|
git-credential-manager
|
2024-05-06 15:55:51 +02:00
|
|
|
git-credential-manager
|
2024-01-24 15:14:44 +01:00
|
|
|
ruff
|
2023-11-13 21:14:59 +01:00
|
|
|
kate
|
|
|
|
|
|
|
|
# Chat applications:
|
|
|
|
signal-desktop
|
2023-11-28 10:39:10 +01:00
|
|
|
webcord-vencord
|
2023-11-13 21:14:59 +01:00
|
|
|
|
|
|
|
# Gaming:
|
|
|
|
prismlauncher
|
|
|
|
steam
|
2024-09-25 22:04:21 +02:00
|
|
|
gamescope
|
2023-11-13 21:14:59 +01:00
|
|
|
|
|
|
|
# Multimedia:
|
|
|
|
freetube
|
|
|
|
vlc
|
|
|
|
|
|
|
|
# Office applications:
|
|
|
|
onlyoffice-bin
|
2024-03-12 15:06:07 +01:00
|
|
|
gimp
|
2023-12-15 21:29:34 +01:00
|
|
|
thunderbird
|
2023-11-13 21:14:59 +01:00
|
|
|
|
|
|
|
# System tools:
|
|
|
|
rage
|
|
|
|
flameshot
|
|
|
|
fzf
|
|
|
|
nextcloud-client
|
|
|
|
nitrokey-app
|
|
|
|
protonvpn-gui
|
|
|
|
virtualbox
|
2024-08-17 19:58:16 +02:00
|
|
|
#watchmate
|
2023-11-13 21:14:59 +01:00
|
|
|
qbittorrent
|
|
|
|
|
2024-04-26 23:10:38 +02:00
|
|
|
# Theming:
|
|
|
|
catppuccin-cursors
|
2024-04-27 13:57:24 +02:00
|
|
|
(catppuccin-kde.override {
|
2024-04-27 14:20:06 +02:00
|
|
|
flavour = ["macchiato"];
|
2024-04-27 14:25:41 +02:00
|
|
|
accents = ["mauve"];
|
2024-04-27 13:57:24 +02:00
|
|
|
})
|
2024-04-26 23:10:38 +02:00
|
|
|
catppuccin-sddm-corners
|
|
|
|
|
2024-05-06 15:55:51 +02:00
|
|
|
# Theming:
|
|
|
|
catppuccin-cursors
|
|
|
|
(catppuccin-kde.override {
|
|
|
|
flavour = ["macchiato"];
|
|
|
|
accents = ["mauve"];
|
|
|
|
})
|
|
|
|
catppuccin-sddm-corners
|
|
|
|
|
2023-11-13 21:14:59 +01:00
|
|
|
# Web browsing:
|
2024-04-01 00:11:01 +02:00
|
|
|
firefoxpwa
|
2024-05-06 15:55:51 +02:00
|
|
|
firefoxpwa
|
2023-11-13 21:14:59 +01:00
|
|
|
ungoogled-chromium
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
2024-05-06 15:55:51 +02:00
|
|
|
catppuccin.catppuccin-vsc
|
|
|
|
catppuccin.catppuccin-vsc-icons
|
2024-04-27 14:20:06 +02:00
|
|
|
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
|
2023-11-13 21:14:59 +01:00
|
|
|
eamodio.gitlens
|
|
|
|
github.vscode-pull-request-github
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
kamadorueda.alejandra
|
2024-01-24 11:38:05 +01:00
|
|
|
mkhl.direnv
|
2023-11-13 21:14:59 +01:00
|
|
|
ms-toolsai.jupyter
|
|
|
|
ms-pyright.pyright
|
2024-01-16 15:38:26 +01:00
|
|
|
ms-python.black-formatter
|
2023-11-13 21:14:59 +01:00
|
|
|
oderwat.indent-rainbow
|
|
|
|
rust-lang.rust-analyzer
|
|
|
|
yzhang.markdown-all-in-one
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-02-16 12:23:46 +01:00
|
|
|
programs.obs-studio = {
|
|
|
|
enable = true;
|
|
|
|
plugins = with pkgs.obs-studio-plugins; [
|
|
|
|
wlrobs
|
|
|
|
obs-backgroundremoval
|
|
|
|
obs-pipewire-audio-capture
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-11-13 21:14:59 +01:00
|
|
|
# Enable home-manager and git
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
2024-01-09 11:05:58 +01:00
|
|
|
userEmail = "git@lillianviolet.dev";
|
2023-11-22 18:27:35 +01:00
|
|
|
userName = "Lillian-Violet";
|
2024-01-17 10:29:41 +01:00
|
|
|
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"
|
2024-05-06 15:55:51 +02:00
|
|
|
"venv"
|
2024-01-23 10:51:02 +01:00
|
|
|
];
|
2023-11-13 21:14:59 +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;
|
|
|
|
};
|
|
|
|
|
2023-11-13 21:14:59 +01:00
|
|
|
# Nicely reload system units when changing configs
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
}
|