Compare commits
3 Commits
efbd44ca4b
...
85f0a2359b
Author | SHA1 | Date | |
---|---|---|---|
85f0a2359b | |||
620c6f83d6 | |||
a9d67fd51f |
@ -199,7 +199,7 @@
|
|||||||
|
|
||||||
"custom/spotify": {
|
"custom/spotify": {
|
||||||
"format": " ",
|
"format": " ",
|
||||||
"on-click": "xfce4-terminal -e 'ncspot'",
|
"on-click": "foot -e 'ncspot'",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
#
|
#
|
||||||
# Gaming
|
# Gaming
|
||||||
#
|
#
|
||||||
|
amdgpu_top
|
||||||
wine-wayland
|
wine-wayland
|
||||||
webcord
|
webcord
|
||||||
|
|
||||||
@ -84,6 +85,7 @@
|
|||||||
imv
|
imv
|
||||||
mpv
|
mpv
|
||||||
gimp
|
gimp
|
||||||
|
ffmpeg
|
||||||
|
|
||||||
#
|
#
|
||||||
# Communication
|
# Communication
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, userName, ... }:
|
||||||
{
|
{
|
||||||
options.swaywm = {
|
options.swaywm = {
|
||||||
enable = lib.mkEnableOption "Enable sway window manager.";
|
enable = lib.mkEnableOption "Enable sway window manager.";
|
||||||
@ -86,9 +86,10 @@
|
|||||||
# ])
|
# ])
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.loginShellInit = ''
|
# environment.loginShellInit = ''
|
||||||
[[ "$(tty)" == /dev/tty1 ]] && sway
|
# [[ "$(tty)" == /dev/tty1 ]] && sway
|
||||||
'';
|
# '';
|
||||||
|
|
||||||
# Thunar config
|
# Thunar config
|
||||||
programs.thunar = {
|
programs.thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -113,26 +114,60 @@
|
|||||||
services.gvfs.enable = true; # thunar functionalities
|
services.gvfs.enable = true; # thunar functionalities
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
# alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
|
sound.enable = false;
|
||||||
###
|
###
|
||||||
## Misc
|
## Misc
|
||||||
###
|
###
|
||||||
sound.enable = true;
|
|
||||||
# Necessary for home-manager sway setup
|
# Necessary for home-manager sway setup
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
# Use amdgpu-pro drivers for davinci
|
# services.xserver.enable = true;
|
||||||
|
# services.xserver.displayManager.defaultSession = "sway";
|
||||||
|
# services.xserver.displayManager.gdm.enable = true;
|
||||||
|
# services.xserver.displayManager.gdm.wayland = true;
|
||||||
|
# services.xserver.displayManager.gdm.settings = {
|
||||||
|
# greeter.includeAll = false;
|
||||||
|
# greeter.include = "nate";
|
||||||
|
# };
|
||||||
|
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings = rec {
|
||||||
|
initial_session = {
|
||||||
|
command = "${pkgs.sway}/bin/sway";
|
||||||
|
user = "nate";
|
||||||
|
};
|
||||||
|
default_session = initial_session;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
# Enable HIP
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
|
||||||
|
];
|
||||||
# services.xserver.videoDrivers = [ "amdgpu-pro" ];
|
# services.xserver.videoDrivers = [ "amdgpu-pro" ];
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
# Mesa
|
# Mesa
|
||||||
enable = true;
|
enable = true;
|
||||||
# Vulkan
|
# Vulkan
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
|
# Rocm support and vulkan drivers
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
rocmPackages.clr.icd
|
||||||
|
amdvlk
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user