Update files
This commit is contained in:
117
flake.nix
117
flake.nix
@@ -20,7 +20,7 @@
|
||||
};
|
||||
elephant = {
|
||||
url = "github:abenz1267/elephant";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
walker = {
|
||||
url = "github:abenz1267/walker";
|
||||
@@ -31,10 +31,10 @@
|
||||
url = "github:peteonrails/voxtype";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hyprland-preview-share-picker = {
|
||||
url = "github:WhySoBad/hyprland-preview-share-picker";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# hyprland-preview-share-picker = {
|
||||
# url = "github:WhySoBad/hyprland-preview-share-picker";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
# };
|
||||
};
|
||||
|
||||
outputs = {
|
||||
@@ -46,7 +46,7 @@
|
||||
home-manager,
|
||||
try-cli,
|
||||
voxtype,
|
||||
hyprland-preview-share-picker,
|
||||
# hyprland-preview-share-picker,
|
||||
...
|
||||
} @ inputs: let
|
||||
lib = nixpkgs.lib;
|
||||
@@ -194,8 +194,10 @@
|
||||
];
|
||||
};
|
||||
systemPackages = with pkgs; [
|
||||
hyprland-preview-share-picker.packages.${system}.default
|
||||
# hyprland-preview-share-picker.packages.${system}.default
|
||||
swaybg
|
||||
makima
|
||||
fcitx5
|
||||
pywal16
|
||||
uwsm
|
||||
v4l-utils
|
||||
@@ -329,6 +331,7 @@
|
||||
system.stateVersion = "25.11";
|
||||
home-manager = {
|
||||
users.chris = { pkgs, lib, ... }: {
|
||||
xdg.configFile."voxtype/config.toml".enable = false;
|
||||
home = {
|
||||
file.".mozilla/firefox/default/search.json.mozlz4".force = lib.mkForce true;
|
||||
username = "chris";
|
||||
@@ -348,6 +351,7 @@
|
||||
".config/yazi/plugins"
|
||||
".config/nixos"
|
||||
".config/sinew.in"
|
||||
".config/chromium"
|
||||
".local/share/direnv"
|
||||
".local/share/nvim"
|
||||
".local/share/voxtype"
|
||||
@@ -416,14 +420,26 @@
|
||||
fi
|
||||
done
|
||||
'';
|
||||
setupInitialConfigs = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
if [[ -v DRY_RUN ]]; then
|
||||
echo "Dry run: Would copy initial config files"
|
||||
exit
|
||||
fi
|
||||
|
||||
DEST_FILE="$HOME/.config/Nextcloud/nextcloud.cfg"
|
||||
|
||||
if [ ! -f "$DEST_FILE" ]; then
|
||||
cp "${./initial-configs/nextcloud.cfg}" "$DEST_FILE"
|
||||
fi
|
||||
|
||||
DEST_FILE="$HOME/.config/sinew.in/Enpass.conf"
|
||||
|
||||
if [ ! -f "$DEST_FILE" ]; then
|
||||
cp "${./initial-configs/Enpass.conf.cfg}" "$DEST_FILE"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
packages = with pkgs; [
|
||||
# jetbrains.rider
|
||||
# android-studio
|
||||
# beekeeper-studio
|
||||
# brave
|
||||
# go
|
||||
# lua
|
||||
lunar-client
|
||||
chromium
|
||||
direnv
|
||||
@@ -433,31 +449,10 @@
|
||||
spotify
|
||||
nodePackages.pnpm
|
||||
try-cli.packages.${system}.default
|
||||
# (python3.withPackages (python-pkgs: [ python-pkgs.pip python-pkgs.requests ]))
|
||||
# zig
|
||||
obsidian
|
||||
mailspring
|
||||
# thunderbird
|
||||
# libreoffice-qt
|
||||
# hunspell
|
||||
# blueberry
|
||||
# pkgs-unstable.hyprshot
|
||||
# catppuccin-cursors.macchiatoBlue
|
||||
# catppuccin-gtk
|
||||
# papirus-folders
|
||||
# pkgs-unstable.php84Packages.composer
|
||||
# pkgs-unstable.php84Packages.xdebug
|
||||
# pkgs-unstable.php84Extensions.sqlite3
|
||||
# pkgs-unstable.php84Extensions.redis
|
||||
# pkgs-unstable.php84Extensions.sodium
|
||||
# pkgs-unstable.php84Extensions.pgsql
|
||||
# pkgs-unstable.php84Extensions.iconv
|
||||
# pkgs-unstable.php84Extensions.gd
|
||||
# pkgs-unstable.php84Extensions.zip
|
||||
# php
|
||||
antigravity
|
||||
gimp
|
||||
# kdePackages.dolphin
|
||||
nautilus
|
||||
enpass
|
||||
enpass-cli
|
||||
@@ -479,11 +474,9 @@
|
||||
uwsm
|
||||
wally-cli
|
||||
kdePackages.wacomtablet
|
||||
# kdePackages.print-manager
|
||||
mpv
|
||||
vlc
|
||||
imv
|
||||
# telegram-desktop
|
||||
];
|
||||
};
|
||||
xdg.mimeApps = {
|
||||
@@ -555,30 +548,30 @@
|
||||
services = {
|
||||
swayosd.enable = true;
|
||||
};
|
||||
systemd.user = {
|
||||
enable = true;
|
||||
timers = {
|
||||
"station-battery-monitor" = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnBootSec = "1min";
|
||||
OnUnitActiveSec = "30sec";
|
||||
Unit = "station-battery-monitor.service";
|
||||
};
|
||||
};
|
||||
};
|
||||
services = {
|
||||
"station-battery-monitor" = {
|
||||
after = "graphical-session.target";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "%h/.local/share/omarchy/bin/omarchy-battery-monitor";
|
||||
Environment = "DISPLAY=:0";
|
||||
LogLevelMax = "warning";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# systemd.user = {
|
||||
# enable = true;
|
||||
# timers = {
|
||||
# "station-battery-monitor" = {
|
||||
# wantedBy = [ "timers.target" ];
|
||||
# timerConfig = {
|
||||
# OnBootSec = "1min";
|
||||
# OnUnitActiveSec = "30sec";
|
||||
# Unit = "station-battery-monitor.service";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# services = {
|
||||
# "station-battery-monitor" = {
|
||||
# after = [ "graphical-session.target" ];
|
||||
# serviceConfig = {
|
||||
# Type = "oneshot";
|
||||
# ExecStart = "%h/.local/share/omarchy/bin/omarchy-battery-monitor";
|
||||
# Environment = "DISPLAY=:0";
|
||||
# LogLevelMax = "warning";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
programs = let
|
||||
lock-false = {
|
||||
Value = false;
|
||||
@@ -600,8 +593,8 @@
|
||||
voxtype = {
|
||||
enable = true;
|
||||
package = voxtype.packages.${system}.vulkan;
|
||||
model.name = "base.en";
|
||||
service.enable = true;
|
||||
settings = {};
|
||||
};
|
||||
firefox = {
|
||||
enable = true;
|
||||
@@ -719,6 +712,8 @@
|
||||
nerd-fonts.fira-code
|
||||
];
|
||||
};
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user