Update Steam Deck config
This commit is contained in:
parent
4dedb233de
commit
202e5c098a
10 changed files with 32 additions and 45 deletions
|
|
@ -1,8 +1,7 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
networking = let const = config.constants; in {
|
||||
domain = const.domain;
|
||||
networking = {
|
||||
hostId = "30f8f777";
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
domain = config.constants.domain;
|
||||
firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||
hostId = "3ddd2ad2";
|
||||
nftables.enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
{
|
||||
networking = {
|
||||
domain = config.constants.domain;
|
||||
firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||
hostId = "e6449321";
|
||||
networkmanager = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,11 @@
|
|||
|
||||
{
|
||||
# Configuration boot
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.enable = true;
|
||||
timeout = 0;
|
||||
};
|
||||
|
||||
# Change secrets file
|
||||
constants.sopsFile = ../../common/auths.yaml;
|
||||
|
|
|
|||
|
|
@ -7,9 +7,10 @@
|
|||
] ++ [
|
||||
./configuration.nix
|
||||
./disko.nix
|
||||
./gui.nix
|
||||
./hardware-configuration.nix
|
||||
./network.nix
|
||||
# ./syncthing.nix
|
||||
./syncthing.nix
|
||||
./tailscale.nix
|
||||
./zfs.nix
|
||||
../../common
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let usr = config.constants.userName; in {
|
||||
jovian = {
|
||||
decky-loader.enable = true;
|
||||
devices.steamdeck.enable = true;
|
||||
steam = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
|
|
|
|||
|
|
@ -1,17 +1,10 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
|
||||
let hn = config.networking.hostName; in {
|
||||
{
|
||||
networking = {
|
||||
domain = config.constants.domain;
|
||||
firewall.trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||
hostId = "e6449321";
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
wifi.backend = "iwd";
|
||||
};
|
||||
hostId = "74247225";
|
||||
networkmanager.enable = true;
|
||||
nftables.enable = true;
|
||||
tempAddresses = "disabled";
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,20 +8,20 @@
|
|||
openDefaultPorts = true;
|
||||
overrideDevices = true;
|
||||
overrideFolders = true;
|
||||
settings = let pc = "blitzar"; in {
|
||||
devices.${pc} = {
|
||||
name = pc;
|
||||
id = "KGCBCIZ-GG6KMQ2-FLK5BWW-GLCEDML-5LCI24S-UKO5UWL-HWNCPYX-ZWWD5AQ";
|
||||
};
|
||||
folders.music = {
|
||||
enable = true;
|
||||
devices = [ pc ];
|
||||
id = "Music";
|
||||
label = "Music";
|
||||
path = "~/Music";
|
||||
type = "receiveonly";
|
||||
};
|
||||
};
|
||||
# settings = let pc = "blitzar"; in {
|
||||
# devices.${pc} = {
|
||||
# name = pc;
|
||||
# id = "KGCBCIZ-GG6KMQ2-FLK5BWW-GLCEDML-5LCI24S-UKO5UWL-HWNCPYX-ZWWD5AQ";
|
||||
# };
|
||||
# folders.music = {
|
||||
# enable = true;
|
||||
# devices = [ pc ];
|
||||
# id = "Music";
|
||||
# label = "Music";
|
||||
# path = "~/Music";
|
||||
# type = "receiveonly";
|
||||
# };
|
||||
# };
|
||||
user = config.constants.userName;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
{ config, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
boot = {
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
loader.grub.zfsSupport = true;
|
||||
zfs.enableUnstable = true;
|
||||
};
|
||||
boot.zfs.enableUnstable = true;
|
||||
|
||||
services.zfs = {
|
||||
autoScrub.enable = true;
|
||||
|
|
|
|||
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
let hn = config.networking.hostName; in {
|
||||
networking = {
|
||||
domain = config.constants.domain;
|
||||
firewall = {
|
||||
allowedTCPPorts = with config.constants.port; [ http https ];
|
||||
};
|
||||
firewall.allowedTCPPorts = with config.constants.port; [ http https ];
|
||||
hostId = "2cadb253";
|
||||
nftables.enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue