steam installed

This commit is contained in:
bogale 2026-11-18 16:57:41 +09:00
commit 246b9dec29
4 changed files with 23 additions and 9 deletions

View file

@ -1,4 +1,10 @@
{ config, pkgs, ... }: {
{
config,
lib,
pkgs,
...
}:
{
boot.kernelParams = [ "hibernate.compressor=lz4" ];
environment.systemPackages = with pkgs; [
android-tools
@ -11,7 +17,7 @@
];
hardware = {
bluetooth.enable = true;
graphics.enable32Bit = true;
steam-hardware.enable = lib.mkForce false;
};
imports = [
../mods/host.nix
@ -34,8 +40,15 @@
};
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg2-conf.path;
};
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
];
programs = {
niri.enable = true;
steam.enable = true;
virt-manager.enable = true;
};
services = {

View file

@ -22,15 +22,15 @@ type = "power_profile"
[[control_center.shortcuts]]
type = "weather"
[idle]
behavior_order = [ "lock", "screen-off" ]
[idle.behavior.lock]
action = "lock"
enabled = true
timeout = 300.0
behavior_order = [ "screen-off", "lock" ]
[idle.behavior.screen-off]
action = "screen_off"
enabled = true
timeout = 300.0
[idle.behavior.lock]
action = "lock"
enabled = true
timeout = 450.0
[location]
address = "Chita"
[notification]

View file

@ -79,7 +79,7 @@
done
export DEBIAN_FRONTEND=noninteractive
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
systemctl enable awg-quick@awg0
apt-get autoremove --purge -y

View file

@ -53,9 +53,9 @@
database.createLocally = true;
enable = true;
hostName = "nextcloud-local";
maxUploadSize = "4G";
poolSettings = phpSettings;
settings = {
htaccess.RewriteBase = "/nextcloud";
overwritewebroot = "/nextcloud";
trusted_domains = [
"bogaledev.ru"
@ -64,6 +64,7 @@
};
};
nginx = {
clientMaxBodySize = "4G";
enable = true;
recommendedBrotliSettings = true;
recommendedGzipSettings = true;