Hyprsunset, fixed hyprpaper, brightnessctl, upower
This commit is contained in:
parent
72cd5d5353
commit
c770b16254
@ -20,6 +20,8 @@ rec {
|
||||
options = "grp:alt_shift_toggle"; # Toggle using ALT + SHIFT
|
||||
};
|
||||
|
||||
monitor1 = ""; # Empty matches all
|
||||
|
||||
username = "martin";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
@ -39,6 +39,7 @@ in
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
brightnessctl
|
||||
wget
|
||||
xdg-utils
|
||||
xdg-desktop-portal
|
||||
|
@ -5,6 +5,7 @@ let
|
||||
suspendAfter = 7200;
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland.settings.exec-once = [ "hypridle" ];
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -1,6 +1,9 @@
|
||||
# Wallpapers
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
common = import ../../common.nix;
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
@ -12,7 +15,6 @@
|
||||
let
|
||||
wallpaperDir = ../../wallpapers;
|
||||
monitor1 = "${wallpaperDir}/nixos_waves.png";
|
||||
monitor2 = "${wallpaperDir}/ekg_v2.png";
|
||||
in
|
||||
{
|
||||
ipc = "on";
|
||||
@ -21,12 +23,10 @@
|
||||
|
||||
preload = [
|
||||
monitor1
|
||||
monitor2
|
||||
];
|
||||
|
||||
wallpaper = [
|
||||
"DP-1,${monitor1}"
|
||||
"DP-3,${monitor2}"
|
||||
"${common.monitor1},${monitor1}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -7,16 +7,15 @@ in
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
", 1920x1080@60.05, 0x0, 1"
|
||||
"${common.monitor1}, 1920x1080@60.05, 0x0, 1"
|
||||
];
|
||||
|
||||
# Autostart
|
||||
exec-once = [
|
||||
app.browser
|
||||
app.terminal
|
||||
"hypridle"
|
||||
"systemctl --user start hyprpolkitagent"
|
||||
"waypaper --restore"
|
||||
"hyprsunset -t 5000" # Set blue light filter
|
||||
];
|
||||
|
||||
env = [
|
||||
|
3
modules/battery.nix
Normal file
3
modules/battery.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
services.upower.enable = true;
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./battery.nix
|
||||
./development.nix
|
||||
./fonts.nix
|
||||
./gnome
|
||||
|
@ -6,6 +6,7 @@
|
||||
xdg-desktop-portal-hyprland
|
||||
hyprpolkitagent # Auth deamon providing modals for password auth
|
||||
hyprshot # Screenshots
|
||||
hyprsunset # Blue light filter
|
||||
# unstable.hyprsysteminfo TODO requires flake update
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user