changed unfree rules
This commit is contained in:
@@ -45,10 +45,12 @@
|
|||||||
./hosts/generic/users.nix
|
./hosts/generic/users.nix
|
||||||
./hosts/generic/home-persistence.nix
|
./hosts/generic/home-persistence.nix
|
||||||
./hosts/generic/zapret.nix
|
./hosts/generic/zapret.nix
|
||||||
|
./hosts/generic/allow_unfree.nix
|
||||||
./hosts/Aphelion/hardware-Aphelion.nix
|
./hosts/Aphelion/hardware-Aphelion.nix
|
||||||
./hosts/Aphelion/nvidia.nix
|
./hosts/Aphelion/nvidia.nix
|
||||||
./desktop/gnome.nix
|
./desktop/gnome.nix
|
||||||
./misc/disable_suspend.nix
|
./misc/disable_suspend.nix
|
||||||
|
./home/yaroslav/steam.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
zapret.nixosModules.zapret
|
zapret.nixosModules.zapret
|
||||||
{
|
{
|
||||||
@@ -56,7 +58,6 @@
|
|||||||
home-manager.users.yaroslav = {
|
home-manager.users.yaroslav = {
|
||||||
imports = [
|
imports = [
|
||||||
./home/yaroslav/Aphelion/Aphelion.nix
|
./home/yaroslav/Aphelion/Aphelion.nix
|
||||||
./home/yaroslav/steam.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ in
|
|||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"obsidian"
|
"obsidian"
|
||||||
"yandex-music"
|
"yandex-music"
|
||||||
|
"steam"
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox
|
firefox
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ lib, ... }:
|
{ config, lib, ... }:
|
||||||
{
|
{
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -6,11 +6,4 @@
|
|||||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
||||||
"steam"
|
|
||||||
"steam-original"
|
|
||||||
"steam-unwrapped"
|
|
||||||
"steam-run"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
{ config, lib, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
|
||||||
builtins.elem (lib.getName pkg) [
|
|
||||||
"nvidia-x11"
|
|
||||||
"nvidia-settings"
|
|
||||||
];
|
|
||||||
boot.initrd.kernelModules = [ "nvidia" ];
|
boot.initrd.kernelModules = [ "nvidia" ];
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
files = [
|
files = [
|
||||||
".p10k.zsh"
|
".p10k.zsh"
|
||||||
".zsh_history"
|
".zsh_history"
|
||||||
|
".config/monitors.xml"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
builtins.elem (lib.getName pkg) [
|
||||||
|
"nvidia-x11"
|
||||||
|
"nvidia-settings"
|
||||||
|
"steam"
|
||||||
|
"steam-unwrapped"
|
||||||
|
"steam-original"
|
||||||
|
"steam-run"
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user