packages
This commit is contained in:
parent
5c51498922
commit
793095b3f0
14 changed files with 154 additions and 2 deletions
20
home/alacritty.nix
Normal file
20
home/alacritty.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{...}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
env.TERM = "xterm-256color";
|
||||
window = {
|
||||
opacity = 0.8;
|
||||
title = "Alacritty";
|
||||
dynamic_title = false;
|
||||
};
|
||||
font = {
|
||||
normal.family = "JetBrainsMono";
|
||||
bold.family = "JetBrainsMono";
|
||||
italic.family = "JetBrainsMono";
|
||||
bold_italic.family = "JetBrainsMono";
|
||||
size = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
21
home/clipman.nix
Normal file
21
home/clipman.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.clipman];
|
||||
|
||||
# https://github.com/nix-community/home-manager/blob/master/modules/services/clipman.nix
|
||||
systemd.user.services.clipman = {
|
||||
Unit = {
|
||||
Description = "Clipboard management daemon";
|
||||
PartOf = ["graphical-session.target"];
|
||||
After = ["graphical-session.target"];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.wl-clipboard}/bin/wl-paste -t --watch ${pkgs.clipman}/bin/clipman store --max-items=500";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -SIGUSR2 $MAINPID";
|
||||
Restart = "on-failure";
|
||||
KillMode = "mixed";
|
||||
};
|
||||
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
};
|
||||
}
|
||||
10
home/common.nix
Normal file
10
home/common.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
home.sessionPath = ["$HOME/.local/bin" "$HOME/.cargo/bin"];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
VISUAL = "hx";
|
||||
};
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
|
@ -1,4 +1,11 @@
|
|||
{
|
||||
user = [
|
||||
./alacritty.nix
|
||||
./clipman.nix
|
||||
./common.nix
|
||||
./direnv.nix
|
||||
./packages.nix
|
||||
./persist.nix
|
||||
./stylix.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
6
home/direnv.nix
Normal file
6
home/direnv.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
6
home/dunst.nix
Normal file
6
home/dunst.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {};
|
||||
};
|
||||
}
|
||||
5
home/fzf.nix
Normal file
5
home/fzf.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
16
home/git.nix
Normal file
16
home/git.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Lilith";
|
||||
userEmail = "ole@benstem.de";
|
||||
difftastic.enable = true;
|
||||
signing = {
|
||||
key = "3586D8D6689B9C9ECD598C588712A0F317C37175";
|
||||
signByDefault = true;
|
||||
};
|
||||
extraConfig = {
|
||||
diff.algorithm = "histogram";
|
||||
diff.submodule = "log";
|
||||
};
|
||||
};
|
||||
}
|
||||
14
home/gpg.nix
Normal file
14
home/gpg.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}: {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
settings.trust-model = "tofu+pgp";
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry;
|
||||
enableSshSupport = true;
|
||||
sshKeys = [];
|
||||
enableExtraSocket = true;
|
||||
};
|
||||
}
|
||||
37
home/packages.nix
Normal file
37
home/packages.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
conf,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home.packages = let
|
||||
common = with pkgs; [
|
||||
gcc
|
||||
gnumake
|
||||
git
|
||||
|
||||
pulssemixer
|
||||
pavucontrol
|
||||
playerctl
|
||||
nh
|
||||
wl-clipboard
|
||||
xdg-utls
|
||||
hyprshot
|
||||
|
||||
obsidian
|
||||
xournalpp
|
||||
vlc
|
||||
keepassxc
|
||||
ncspot
|
||||
|
||||
btop
|
||||
htop
|
||||
];
|
||||
|
||||
gaming = with pkgs; [
|
||||
prismlauncher
|
||||
lutris
|
||||
];
|
||||
in
|
||||
common ++ (lib.mkIf conf.gaming.enable gaming);
|
||||
}
|
||||
4
home/stylix.nix
Normal file
4
home/stylix.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{...}: {
|
||||
stylix.image = ../wallpapers/default.png;
|
||||
stylix.polarity = "dark";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue