Compare commits
7 Commits
b4fcc4ca7c
...
78c6e978b3
Author | SHA1 | Date | |
---|---|---|---|
78c6e978b3 | |||
ec8512746b | |||
8ffe52a3ca | |||
8bf092e498 | |||
98b45e9dd8 | |||
34c79edf41 | |||
6eaa1f6835 |
@@ -38,6 +38,7 @@
|
||||
./home/nextcloud.nix # Nextcloud autostart
|
||||
./home/code-cursor.nix # Cursor config
|
||||
./home/vim.nix # Vim config
|
||||
./home/hyprsunset.nix # Hyprsunset night mode
|
||||
];
|
||||
};
|
||||
|
||||
@@ -133,6 +134,9 @@
|
||||
daemon.enable = true; # Background virus scanning
|
||||
updater.enable = true; # Automatic signature updates
|
||||
};
|
||||
|
||||
# Enable GNOME keyring for password management
|
||||
gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
|
||||
# ================================
|
||||
@@ -208,8 +212,6 @@
|
||||
"--ignore=private-dev"
|
||||
# Enable desktop notifications
|
||||
"--dbus-user.talk=org.freedesktop.Notifications"
|
||||
# Allow access to downloads
|
||||
"--whitelist=/home/schulze/Nextcloud/Home-sync/Downloads"
|
||||
];
|
||||
};
|
||||
chromium = {
|
||||
@@ -218,6 +220,21 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
environment.etc = {
|
||||
"firejail/firefox.local".text = ''
|
||||
# Custom Firejail profile for firefox
|
||||
# Allow access to downloads
|
||||
noblacklist ''${HOME}/Nextcloud
|
||||
whitelist ''${HOME}/Nextcloud
|
||||
|
||||
# Enable native notifications.
|
||||
dbus-user.talk org.freedesktop.Notifications
|
||||
# Allow inhibiting screensavers.
|
||||
dbus-user.talk org.freedesktop.ScreenSaver
|
||||
# Allow screensharing under Wayland.
|
||||
dbus-user.talk org.freedesktop.portal.Desktop
|
||||
'';
|
||||
};
|
||||
|
||||
# ================================
|
||||
# HARDWARE SECURITY (YUBIKEY)
|
||||
|
@@ -101,6 +101,7 @@
|
||||
hyprpaper # Wallpaper daemon
|
||||
hyprlock # Screen lock utility
|
||||
hyprpicker # Color picker
|
||||
hyprsunset # Night mode
|
||||
|
||||
# ---- CLIPBOARD & INPUT ----
|
||||
wl-clipboard # Clipboard utilities for Wayland
|
||||
|
@@ -11,16 +11,16 @@
|
||||
|
||||
listener = [
|
||||
{
|
||||
timeout = 150; # 2.5min.
|
||||
timeout = 180; # 3min.
|
||||
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||
on-resume = "brightnessctl -r"; # monitor backlight restore.
|
||||
}
|
||||
{
|
||||
timeout = 300; # 5min.
|
||||
timeout = 600; # 10min.
|
||||
on-timeout = "loginctl lock-session"; # lock screen when timeout has passed
|
||||
}
|
||||
{
|
||||
timeout = 600; # 10min.
|
||||
timeout = 900; # 15min.
|
||||
on-timeout = "hyprctl dispatch dpms off"; # screen off when timeout has passed
|
||||
on-resume = "hyprctl dispatch dpms on && brightnessctl -r"; # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
@@ -8,6 +8,7 @@ in {
|
||||
exec-once = [
|
||||
"hyprpaper"
|
||||
"hypridle"
|
||||
"hyprsunset"
|
||||
"hyprctl setcursor capitaine-cursors-white 28" # Set mouse cursor
|
||||
"wl-paste --type text --watch cliphist store" # Stores only text data
|
||||
"wl-paste --type image --watch cliphist store" # Stores only image data
|
||||
|
19
modules/home/hyprsunset.nix
Normal file
19
modules/home/hyprsunset.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
services.hyprsunset = {
|
||||
enable = true;
|
||||
transitions = {
|
||||
sunrise = {
|
||||
calendar = "*-*-* 06:00:00";
|
||||
requests = [
|
||||
["identity"]
|
||||
];
|
||||
};
|
||||
sunset = {
|
||||
calendar = "*-*-* 20:00:00";
|
||||
requests = [
|
||||
["temperature" "3000"]
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@@ -1,11 +1,6 @@
|
||||
{lib, ...}: {
|
||||
{
|
||||
services.nextcloud-client = {
|
||||
enable = true;
|
||||
startInBackground = true;
|
||||
};
|
||||
systemd.user.services.nextcloud-client = {
|
||||
Unit = {
|
||||
After = lib.mkForce "graphical-session.target";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@@ -73,10 +73,13 @@ in {
|
||||
remmina
|
||||
|
||||
# Visual
|
||||
inkscape
|
||||
krita
|
||||
darktable
|
||||
imagemagick
|
||||
loupe # Image viewer
|
||||
inkscape # Vector editor
|
||||
krita # Image editor
|
||||
kdePackages.kolourpaint # Simple Image editor
|
||||
darktable # Raw editor
|
||||
imagemagick # Image processing
|
||||
mpv # Video player
|
||||
];
|
||||
|
||||
programs = {
|
||||
@@ -146,6 +149,7 @@ in {
|
||||
# programs
|
||||
firefox = {
|
||||
enable = true;
|
||||
nativeMessagingHosts.packages = [pkgs.ff2mpv];
|
||||
policies = {
|
||||
/*
|
||||
---- POLICIES ----
|
||||
|
Reference in New Issue
Block a user