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
|
2023-12-28 22:10:17 +01:00
|
|
|
../package-configs/zsh.nix
|
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 ];
|
|
|
|
# });
|
|
|
|
# })
|
|
|
|
];
|
|
|
|
# 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-01-24 15:14:44 +01:00
|
|
|
ruff
|
2023-11-13 21:14:59 +01:00
|
|
|
kate
|
|
|
|
|
|
|
|
# Chat applications:
|
2024-01-06 23:42:54 +01:00
|
|
|
element-desktop
|
2023-11-13 21:14:59 +01:00
|
|
|
signal-desktop
|
2023-11-28 10:39:10 +01:00
|
|
|
webcord-vencord
|
2023-11-13 21:14:59 +01:00
|
|
|
|
|
|
|
# Gaming:
|
|
|
|
prismlauncher
|
|
|
|
steam
|
|
|
|
|
|
|
|
# Multimedia:
|
|
|
|
freetube
|
|
|
|
vlc
|
|
|
|
|
|
|
|
# Office applications:
|
|
|
|
onlyoffice-bin
|
2023-11-21 11:59:52 +01:00
|
|
|
teams-for-linux
|
2023-12-07 17:51:22 +01:00
|
|
|
gimp-with-plugins
|
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
|
2023-11-23 19:05:37 +01:00
|
|
|
sops
|
2023-11-13 21:14:59 +01:00
|
|
|
virtualbox
|
|
|
|
watchmate
|
|
|
|
qbittorrent
|
|
|
|
zsh
|
|
|
|
|
|
|
|
# Web browsing:
|
|
|
|
firefox
|
2023-12-12 13:16:12 +01:00
|
|
|
librewolf
|
2023-11-13 21:14:59 +01:00
|
|
|
ungoogled-chromium
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
2024-02-25 16:16:01 +01:00
|
|
|
#arrterian.nix-env-selector
|
2023-11-28 10:12:11 +01:00
|
|
|
#ban.spellright
|
2024-03-01 10:21:47 +01:00
|
|
|
charliermarsh.ruff
|
2023-11-13 21:14:59 +01:00
|
|
|
dracula-theme.theme-dracula
|
|
|
|
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
|
|
|
#ms-python.python
|
|
|
|
ms-python.vscode-pylance
|
2023-11-28 10:12:46 +01:00
|
|
|
#ms-vscode-remote.remote-containers
|
2023-11-13 21:14:59 +01:00
|
|
|
ms-vscode-remote.remote-ssh
|
|
|
|
oderwat.indent-rainbow
|
2024-02-23 14:04:42 +01:00
|
|
|
#redhat.java
|
2023-11-13 21:14:59 +01:00
|
|
|
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-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";
|
|
|
|
}
|