wip: dnsc-machine setup
This commit is contained in:
parent
ffead91f28
commit
dfc586c85e
8 changed files with 158 additions and 57 deletions
|
|
@ -92,7 +92,7 @@
|
|||
programs.niri.enable = true;
|
||||
security.polkit.enable = true;
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
security.pam.services.swaylock = {};
|
||||
security.pam.services.hyprlock = {};
|
||||
|
||||
# Nix settings
|
||||
nix.gc = {
|
||||
|
|
@ -126,10 +126,10 @@
|
|||
neovim
|
||||
btop
|
||||
wezterm
|
||||
ghostty
|
||||
fish
|
||||
firefox # TODO use zen browser instead
|
||||
pavucontrol
|
||||
swaybg
|
||||
pcmanfm
|
||||
pwvucontrol
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
|
@ -184,22 +184,6 @@
|
|||
# Tailscale
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# Custom systemd services
|
||||
systemd.user.services.wallpaper = {
|
||||
enable = true;
|
||||
description = "Sets the wallpaper with swaybg";
|
||||
wantedBy = [ "niri.service" ];
|
||||
unitConfig = {
|
||||
PartOf = "graphical-session.target";
|
||||
After = "graphical-session.target";
|
||||
Requisite = "graphical-session.target";
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.swaybg}/bin/swaybg -o * -i %h/Pictures/Wallpapers/coom.jpg -m fill";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
# Environment & session variables
|
||||
environment.variables.EDITOR = "nvim";
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
|
@ -211,5 +195,4 @@
|
|||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "25.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue