move the steam desktop shortcut to the steam module

This commit is contained in:
Andreas Zweili 2022-01-10 18:42:57 +01:00
parent 2db49a345e
commit fcf85490ff
3 changed files with 6 additions and 2 deletions

View File

@ -38,7 +38,6 @@
home.file.".config/qtile/config.py".source = ./configs/qtile/config.py;
home.file.".config/qtile/autostart.sh".source = ./configs/qtile/autostart.sh;
home.file.".config/terminator".source = ./configs/terminator;
home.file.".local/share/applications/steam.desktop".source = ./config/applications/steam.desktop;
programs.bash = {
enable = true;

View File

@ -1,4 +1,7 @@
{ ... }:
let
username = import ../../username.nix;
in
{
programs.steam.enable = true;
hardware.steam-hardware.enable = true;
@ -6,5 +9,7 @@
allowedTCPPorts = [ 27036 ];
allowedUDPPorts = [ 27031 ];
};
home-manager.users.${username} = {
home.file.".local/share/applications/steam.desktop".source = ./steam.desktop;
};
}