media and gaming
This commit is contained in:
parent
7afe711932
commit
a62a45f9f4
6 changed files with 25 additions and 19 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ spotify ];
|
||||
home.packages = with pkgs; [
|
||||
spotify
|
||||
mplayer
|
||||
];
|
||||
programs.cava = {
|
||||
enable = true;
|
||||
};
|
||||
8
nixos/gaming.nix
Normal file
8
nixos/gaming.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||
};
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
#xwayland.enable = true;
|
||||
};
|
||||
programs.hyprlock.enable = true;
|
||||
services.hypridle.enable = true;
|
||||
|
|
@ -11,11 +10,20 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
hyprcursor
|
||||
waybar
|
||||
# Apps
|
||||
rofi-wayland
|
||||
# Notifications
|
||||
swaynotificationcenter
|
||||
inotify-tools
|
||||
# Wallpaper
|
||||
swww
|
||||
pywal
|
||||
# Emoji
|
||||
emote
|
||||
# Screenshots
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
];
|
||||
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
|
|
|||
|
|
@ -14,10 +14,11 @@ in
|
|||
./system.nix
|
||||
./network.nix
|
||||
./nvidia.nix
|
||||
./audio.nix
|
||||
./media.nix
|
||||
./services.nix
|
||||
./shell.nix
|
||||
./hyprland.nix
|
||||
./gaming.nix
|
||||
];
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
|
|
@ -47,8 +48,8 @@ in
|
|||
home.username = username;
|
||||
home.homeDirectory = "/home/${username}";
|
||||
imports = [
|
||||
../home-manager/audio.nix
|
||||
../home-manager/hyprland.nix
|
||||
../home-manager/media.nix
|
||||
../home-manager/nvim.nix
|
||||
../home-manager/terminal.nix
|
||||
./home.nix
|
||||
|
|
@ -62,27 +63,13 @@ in
|
|||
# System
|
||||
gcc
|
||||
cmake
|
||||
sass
|
||||
unzip
|
||||
ffmpeg
|
||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
wget
|
||||
inotify-tools
|
||||
killall
|
||||
brightnessctl
|
||||
fd
|
||||
# Screenshots
|
||||
grim
|
||||
slurp
|
||||
swappy
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||
};
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
# accidentally delete configuration.nix.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue