This commit is contained in:
death916 2025-12-26 07:10:27 -08:00
commit 8fc70a6fbc
10 changed files with 95 additions and 125 deletions

View file

@ -69,7 +69,6 @@ in
pciutils
usbutils
waveterm
halloy
tmux
nextcloud-client
obsidian
@ -97,14 +96,7 @@ in
# libsForQt5.kdeconnect-kde
kdePackages.kdeconnect-kde
restic-browser
cava
fedistar
yazi
lazygit
];
nixpkgs.overlays = [
(import ../overlays/waveterm-overlay.nix ../overlays/halloy-overlay.nix)
];
programs.ghostty = {
@ -215,11 +207,95 @@ in
};
programs.zellij.enable = true;
programs.halloy = {
enable = true;
settings = {
notifications = {
direct_message = {
sound = "peck";
show_toast = true;
};
connected = {
sound = "peck";
show_toast = true;
};
highlight = {
sound = "dong";
show_toast = true;
show_content = true;
exclude = [ "NickServ" ];
};
};
servers.libera = {
nickname = "death916";
username = "death916/libera";
server = "100.72.187.12";
port = 6667;
chathistory = true;
use_tls = false;
dangerously_accept_invalid_certs = true;
logging = true;
buffer = "replace-pane";
password_file = "/home/death916/.config/halloy/libera.pass";
sasl.plain = {
username = "death916";
password_file = "/home/death916/.config/halloy/libera.pass";
};
};
actions = {
buffer.click_channel_name = "replace-pane";
sidebar = {
click_channel_name = "replace-pane";
buffer = "replace-pane";
};
};
font.size = 16;
buffer = {
server_messages = {
join = {
smart = 30;
enabled = false;
};
part = {
smart = 30;
};
quit = {
smart = 30;
};
topic = {
enabled = false;
};
};
channel.nicklist.width = 100;
scroll_position_on_open = "newest";
chathistory.infinite_scroll = true;
};
sidebar = {
click_channel_name = "replace-pane";
default_action = "replace-pane";
buffer = "replace-pane";
};
logging.enabled = true;
};
};
programs.zed-editor = {
enable = true;
package = pkgs.zed-editor-fhs;
};
programs.btop.enable = true;
programs.yazi = {
enable = true;
settings = {
show_hidden = true;
};
};
programs.cava.enable = true;
programs.lazygit.enable = true;
}

View file

@ -7,7 +7,7 @@
{
imports = [
./themes/ferra.nix
./themes/sunset.nix
];
stylix.enable = true;
@ -50,5 +50,6 @@
zellij.enable = true;
zellij.colors.enable = true;
btop.enable = true;
halloy.enable = true;
};
}

View file

@ -9,9 +9,11 @@
{
programs.git = {
enable = true;
userName = "death916";
userEmail = "mail@trentnelson.dev";
extraConfig = {
settings = {
user = {
name = "death916";
email = "mail@trentnelson.dev";
};
credential.helper = "store";
};
};

View file

@ -94,32 +94,6 @@
};
};
systemd.services.kopia-backup = {
description = "Kopia backup service for NixOS server";
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
User = "root";
ExecStart = "/usr/local/bin/nixos-kopia-backup.sh";
path = with pkgs; [
coreutils
kopia
];
};
};
systemd.timers.kopia-backup = {
description = "Daily Kopia backup timer";
wantedBy = [ "timers.target" ];
partOf = [ "kopia-backup.service" ];
timerConfig = {
OnCalendar = "hourly";
Persistent = true;
Unit = "kopia-backup.service";
};
};
users.users.adguardhome = {
isSystemUser = true;
group = "adguardhome";
@ -169,7 +143,6 @@
pkgs.jellyfin-ffmpeg
pkgs.jellyfin
unzip
kopia
manix
qemu
virt-manager

View file

@ -19,8 +19,8 @@
services.gnome.gnome-keyring.enable = true;
services.dbus.enable = true; # for nextcloud client
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.displayManager.gdm.enable = true;
services.desktopManager.gnome.enable = true;
#cosmic instead
services.desktopManager.cosmic.enable = true;
# services.displayManager.cosmic-greeter.enable = true;
@ -49,8 +49,7 @@
unstablePkgs.cosmic-session
halloy
conda
inputs.flox.packages.${pkgs.system}.flox
kopia-ui
inputs.flox.packages.${pkgs.stdenv.hostPlatform.system}.flox
wl-clipboard
tail-tray
clementine

View file

@ -8,32 +8,6 @@
virtualisation.docker.enable = true;
systemd.services.kopia-backup = {
description = "Kopia backup service for NixOS server";
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
User = "root";
ExecStart = "/home/death916/nixconfig/modules/nixos/orac/kopia-backup.sh";
path = with pkgs; [
coreutils
kopia
];
};
};
systemd.timers.kopia-backup = {
description = "Daily Kopia backup timer";
wantedBy = [ "timers.target" ];
partOf = [ "kopia-backup.service" ];
timerConfig = {
OnCalendar = "hourly";
Persistent = true;
Unit = "kopia-backup.service";
};
};
programs.nh = {
enable = true;
# clean.enable = true;
@ -86,7 +60,6 @@
btop
wget
unzip
kopia
manix
pipes-rs
];

View file

@ -7,32 +7,6 @@
virtualisation.docker.enable = true;
systemd.services.kopia-backup = {
description = "Kopia backup service for NixOS server";
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
serviceConfig = {
Type = "oneshot";
User = "root";
ExecStart = "/usr/local/bin/nixos-kopia-backup.sh";
path = with pkgs; [
coreutils
kopia
];
};
};
systemd.timers.kopia-backup = {
description = "Daily Kopia backup timer";
wantedBy = [ "timers.target" ];
partOf = [ "kopia-backup.service" ];
timerConfig = {
OnCalendar = "hourly";
Persistent = true;
Unit = "kopia-backup.service";
};
};
programs.nh = {
enable = true;
clean.enable = true;
@ -50,7 +24,6 @@
btop
wget
unzip
kopia
manix
];
}

View file

@ -41,7 +41,7 @@
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --cmd Hyprland";
command = "${pkgs.tuigreet}/bin/tuigreet --cmd start-hyprland";
user = "death916";
};
};

View file

@ -13,7 +13,6 @@
../modules/nixos/common/base.nix
../modules/nixos/homelab/user.nix
../modules/nixos/common/tailscale.nix
../modules/containers/kopia-server.nix
];
config = {
@ -36,11 +35,8 @@
"network-online.target"
"postgresql.service"
];
systemd.services.kopia-server.after = [ "network-online.target" ];
systemd.services.kopia-server.requires = [ "network-online.target" ];
arrSuite.unpackerr.enable = true;
services.kopia-server.enable = true;
system.stateVersion = "24.11";
# Auto-reboot the system if it hangs (5 minute timeout)

View file

@ -1,23 +0,0 @@
# This file defines overlays
{inputs, ...}: {
# This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: import ../pkgs final.pkgs;
# This one contains whatever you want to overlay
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });
};
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
system = final.system;
config.allowUnfree = true;
};
};
}