audiocables script, locale, ly displayManager

This commit is contained in:
2026-09-29 23:15:48 +02:00
parent c14c165a09
commit d3a1fd8db6
4 changed files with 16 additions and 10 deletions

View File

@@ -96,7 +96,7 @@ in
description = "Link virtual PipeWire sinks"; description = "Link virtual PipeWire sinks";
wantedBy = [ "graphical-session.target" ]; wantedBy = [ "graphical-session.target" ];
wants = [ requires = [
"pipewire.service" "pipewire.service"
"wireplumber.service" "wireplumber.service"
]; ];
@@ -106,7 +106,7 @@ in
]; ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "simple";
ExecStart = "${linkSinksScript}/bin/link-virtual-sinks"; ExecStart = "${linkSinksScript}/bin/link-virtual-sinks";
RemainAfterExit = true; RemainAfterExit = true;
}; };

View File

@@ -50,7 +50,7 @@
vim vim
]; ];
# TODO: use home-manager # TODO: switch to home manager
# home-manager = { # home-manager = {
# useGlobalPkgs = true; # useGlobalPkgs = true;
# useUserPackages = true; # useUserPackages = true;

View File

@@ -1,12 +1,20 @@
{ pkgs, inputs, ... }: { pkgs, inputs, ... }:
{ {
services.displayManager.sddm.enable = true; # TODO: look into ly/greetd/something less heavy services.displayManager = {
services.displayManager.autoLogin = { ly = {
enable = true;
x11Suport = false;
};
autoLogin = {
enable = true; enable = true;
user = "djai"; user = "djai";
}; };
defaultSession = "hyprland-uwsm"; # TODO: might be wrong
};
# note that we set the videodrivers on a per-host basis, so not here. # note that we set the videodrivers on a per-host basis, so not here.
services.xserver = { services.xserver = {
enable = true; enable = true;
@@ -69,7 +77,6 @@
swaybg swaybg
]; ];
# TODO: qt theming
qt = { qt = {
enable = true; enable = true;
platformTheme = "qt5ct"; # might have to go back to gnome if this makes kdenlive crash platformTheme = "qt5ct"; # might have to go back to gnome if this makes kdenlive crash
@@ -109,7 +116,7 @@
extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
}; };
# TODO: start using home manager # TODO: switch to using home manager
# home-manager.users.djai = { # home-manager.users.djai = {
# imports = [ ./hyprland.nix ]; # loogat husseins dots for inspo # imports = [ ./hyprland.nix ]; # loogat husseins dots for inspo
# #

View File

@@ -3,7 +3,6 @@
{ {
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
# TODO: copy locale settings from tuxcomp
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";
i18n.extraLocaleSettings = { i18n.extraLocaleSettings = {