1
0
Fork 0
forked from foxora/nix
This commit is contained in:
foxora 2026-02-12 18:53:24 +00:00
commit a07bd5fd9b
66 changed files with 6115 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ config, inputs, pkgs, ... }:
let
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
home.packages = with pkgs; [
libnotify
];
services.dunst = {
enable = true;
settings = {
global = {
monitor = "DP-3"; # second monitor
origin = "top-left";
layer = "top"; # above windows, below fullscreen
offset = "(16, 24)";
padding = 4;
gap_size = 4;
frame_width = 2;
font = "DepartureMono Nerd Font 8";
corner_radius = 12;
icon_corner_radius = 12;
progress_bar = true;
progress_bar_height = 16;
};
};
};
}

View file

@ -0,0 +1,12 @@
[General]
ConfigVersion=2
[FdoSecrets]
Enabled=true
ShowNotification=true
ConfirmAccessItem=true
ConfirmDeleteItem=true
[GUI]
MinimizeToTray=true
ShowTrayIcon=false

View file

@ -0,0 +1,23 @@
{ config, inputs, lib, pkgs, ... }:
{
home.packages = with pkgs; [
keepassxc
];
systemd.user.services.keepassxc = {
Unit = {
Description = "KeePassXC password manager";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
Description = "${pkgs.keepassxc}/bin/keepassxc";
Restart = "on-failure";
};
Install.WantedBy = [ "graphical-session.target" ];
};
xdg.configFile."keepassxc/keepassxc.ini" = {
source = ./keepassxc.ini;
};
}

View file

@ -0,0 +1 @@
cookie-file = /run/user/{uid}/pulse/cookie

View file

@ -0,0 +1,9 @@
{ inputs, lib, pkgs, config, osConfig, ... }:
{
# writes ./client.conf to ~/.config/pulse/client.conf
xdg.configFile."pulse/client.conf".text = builtins.replaceStrings
["{uid}"]
# make sure ur user id is set!!!
["${toString osConfig.users.users.${config.home.username}.uid}"]
(builtins.readFile ./client.conf.template);
}

View file

@ -0,0 +1,8 @@
{ inputs, lib, pkgs, config, ... }:
{
# writes ./config to ~/.config/wireplumber
xdg.configFile."wireplumber" = {
recursive = true;
source = ./config;
};
}