1
0
forked from extern/zaneyos

Trying to get rid of gdm and apparently lightdm

This commit is contained in:
Tyler Kelley 2024-01-22 15:33:59 -06:00
parent 86660e9e9a
commit d430a17321
3 changed files with 14 additions and 9 deletions

View File

@ -10,10 +10,6 @@
xkbVariant = ""; xkbVariant = "";
libinput.enable = true; libinput.enable = true;
videoDrivers = [ "amdgpu" ]; videoDrivers = [ "amdgpu" ];
displayManager.gdm = {
enable = true;
wayland = true;
};
}; };
services.pipewire = { services.pipewire = {
enable = true; enable = true;
@ -31,5 +27,4 @@
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
services.blueman.enable = true; services.blueman.enable = true;
services.mpris-proxy.enable = true; # enables playback control from Bluetooth headphones
} }

6
flake.lock generated
View File

@ -58,11 +58,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1705641746, "lastModified": 1705774713,
"narHash": "sha256-D6c2aH8HQbWc7ZWSV0BUpFpd94ImFyCP8jFIsKQ4Slg=", "narHash": "sha256-j6ADaDH9XiumUzkTPlFyCBcoWYhO83lfgiSqEJF2zcs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d2003f2223cbb8cd95134e4a0541beea215c1073", "rev": "1b64fc1287991a9cce717a01c1973ef86cb1af0b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -49,10 +49,11 @@
v4l-utils ydotool wl-clipboard socat cowsay lsd v4l-utils ydotool wl-clipboard socat cowsay lsd
pkg-config meson hugo gnumake ninja go nodejs symbola pkg-config meson hugo gnumake ninja go nodejs symbola
noto-fonts-color-emoji material-icons brightnessctl noto-fonts-color-emoji material-icons brightnessctl
gnome.adwaita-icon-theme
]; ];
programs.java.enable = true; programs.java.enable = true;
programs.dconf.enable = true;
programs.steam.gamescopeSession.enable = true; programs.steam.gamescopeSession.enable = true;
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -67,6 +68,15 @@
POLKIT_BIN = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; POLKIT_BIN = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
}; };
xdg = {
portal = {
extraPortals = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-hyprland
];
};
};
# Optimization settings and garbage collection automation # Optimization settings and garbage collection automation
nix = { nix = {
settings.auto-optimise-store = true; settings.auto-optimise-store = true;