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