Personal-NixOS-Configuration/configurations/desktop/home.nix

97 lines
2.5 KiB
Nix

{ config, pkgs, ... }:
{
imports =
[
# Global Config, always to be included
./../../global-home.nix
./../../modules/nixos/cspark-desktop-plasma/home.nix
./../../modules/nixos/cspark-desktop-sway/home.nix
./../../modules/nixos/cspark-desktop-niri/home.nix
];
# KDE Connect
services.kdeconnect.enable = true;
services.kdeconnect.indicator = true;
# Custom Desktop Configurations
# cspark-desktop-plasma-config-1.enable = true;
# cspark-desktop-sway-config-1.enable = true;
cspark-desktop-niri-config-1.enable = true;
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
# ".local/share/applications/ncmpcpp.desktop".text = ''
# [Desktop Entry]
# Name=NCMPCPP
# Comment=Run ncurses music player CPP
# Categories=Other;
# Icon=konsole
# Type=Application
# Exec=konsole -e ncmpcpp
# Terminal=false
# '';
};
# Roblox Curl Service
systemd.user.services.roblox-curl = {
Unit = {
Description = "Check what roblox users are online";
};
Service = {
ExecStart = "%h/Documents/RobloxCurlOnline.sh";
};
};
systemd.user.timers.roblox-curl = {
Unit = {
Description = "Check what roblox users are online - hourly";
};
Timer = {
OnCalendar = "hourly";
};
Install = {
WantedBy = [ "timers.target" ];
};
};
# VRChat Curl Service
systemd.user.services.vrchat-curl = {
Unit = {
Description = "Check what vrchat users are online";
};
Service = {
ExecStart = "%h/Documents/VRChatCurlOnline.sh";
};
};
systemd.user.timers.vrchat-curl = {
Unit = {
Description = "Check what vrchat users are online - hourly";
};
Timer = {
OnCalendar = "hourly";
};
Install = {
WantedBy = [ "timers.target" ];
};
};
programs.bash.shellAliases = {
sudo = "sudo ";
doas = "doas ";
edit = "$EDITOR";
nixos-rebuild-system-flake = "sudo nixos-rebuild switch --flake /etc/nixos#desktop";
};
}