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

165 lines
3.5 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
2023-12-28 22:10:17 +01:00
../package-configs/zsh.nix
./plasma-desktop
];
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
git
2024-01-24 15:14:44 +01:00
ruff
kate
# Chat applications:
2024-03-27 18:24:49 +01:00
cinny-desktop
signal-desktop
2023-11-28 10:39:10 +01:00
webcord-vencord
# Gaming:
prismlauncher
steam
# Multimedia:
freetube
vlc
# Office applications:
onlyoffice-bin
2024-03-28 10:01:02 +01:00
teams-for-linux
gimp
2023-12-15 21:29:34 +01:00
thunderbird
# System tools:
rage
flameshot
fzf
nextcloud-client
nitrokey-app
protonvpn-gui
2023-11-23 19:05:37 +01:00
sops
virtualbox
watchmate
qbittorrent
zsh
# Web browsing:
firefox
2023-12-12 13:16:12 +01:00
librewolf
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
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
ms-toolsai.jupyter
ms-pyright.pyright
2024-01-16 15:38:26 +01:00
ms-python.black-formatter
#ms-python.python
ms-python.vscode-pylance
2023-11-28 10:12:46 +01:00
#ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
oderwat.indent-rainbow
#redhat.java
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-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";
}