steam installed
This commit is contained in:
parent
f3f06e9810
commit
246b9dec29
4 changed files with 23 additions and 9 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
{ config, pkgs, ... }: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
boot.kernelParams = [ "hibernate.compressor=lz4" ];
|
boot.kernelParams = [ "hibernate.compressor=lz4" ];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
android-tools
|
android-tools
|
||||||
|
|
@ -11,7 +17,7 @@
|
||||||
];
|
];
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
graphics.enable32Bit = true;
|
steam-hardware.enable = lib.mkForce false;
|
||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
../mods/host.nix
|
../mods/host.nix
|
||||||
|
|
@ -34,8 +40,15 @@
|
||||||
};
|
};
|
||||||
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg2-conf.path;
|
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg2-conf.path;
|
||||||
};
|
};
|
||||||
|
nixpkgs.config.allowUnfreePredicate =
|
||||||
|
pkg:
|
||||||
|
builtins.elem (lib.getName pkg) [
|
||||||
|
"steam"
|
||||||
|
"steam-unwrapped"
|
||||||
|
];
|
||||||
programs = {
|
programs = {
|
||||||
niri.enable = true;
|
niri.enable = true;
|
||||||
|
steam.enable = true;
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
|
|
|
||||||
|
|
@ -22,15 +22,15 @@ type = "power_profile"
|
||||||
[[control_center.shortcuts]]
|
[[control_center.shortcuts]]
|
||||||
type = "weather"
|
type = "weather"
|
||||||
[idle]
|
[idle]
|
||||||
behavior_order = [ "lock", "screen-off" ]
|
behavior_order = [ "screen-off", "lock" ]
|
||||||
[idle.behavior.lock]
|
|
||||||
action = "lock"
|
|
||||||
enabled = true
|
|
||||||
timeout = 300.0
|
|
||||||
[idle.behavior.screen-off]
|
[idle.behavior.screen-off]
|
||||||
action = "screen_off"
|
action = "screen_off"
|
||||||
enabled = true
|
enabled = true
|
||||||
timeout = 300.0
|
timeout = 300.0
|
||||||
|
[idle.behavior.lock]
|
||||||
|
action = "lock"
|
||||||
|
enabled = true
|
||||||
|
timeout = 450.0
|
||||||
[location]
|
[location]
|
||||||
address = "Chita"
|
address = "Chita"
|
||||||
[notification]
|
[notification]
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
done
|
done
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
add-apt-repository -y ppa:amnezia/ppa
|
add-apt-repository -y ppa:amnezia/ppa
|
||||||
apt-get install -y gnupg2 amneziawg amneziawg-tools iptables-persistent python3-launchpadlib linux-headers-$(uname -r) software-properties-common
|
apt-get install -y gnupg2 amneziawg amneziawg-tools iptables-persistent python3-launchpadlib linux-headers-generic software-properties-common
|
||||||
mv ~/awg0.conf /etc/amnezia/amneziawg
|
mv ~/awg0.conf /etc/amnezia/amneziawg
|
||||||
systemctl enable awg-quick@awg0
|
systemctl enable awg-quick@awg0
|
||||||
apt-get autoremove --purge -y
|
apt-get autoremove --purge -y
|
||||||
|
|
|
||||||
|
|
@ -53,9 +53,9 @@
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "nextcloud-local";
|
hostName = "nextcloud-local";
|
||||||
|
maxUploadSize = "4G";
|
||||||
poolSettings = phpSettings;
|
poolSettings = phpSettings;
|
||||||
settings = {
|
settings = {
|
||||||
htaccess.RewriteBase = "/nextcloud";
|
|
||||||
overwritewebroot = "/nextcloud";
|
overwritewebroot = "/nextcloud";
|
||||||
trusted_domains = [
|
trusted_domains = [
|
||||||
"bogaledev.ru"
|
"bogaledev.ru"
|
||||||
|
|
@ -64,6 +64,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nginx = {
|
nginx = {
|
||||||
|
clientMaxBodySize = "4G";
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedBrotliSettings = true;
|
recommendedBrotliSettings = true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue