Steam deck updates

This commit is contained in:
albert 2024-04-26 22:00:24 +09:00
parent 2fe122ea54
commit 7a3d322243
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
4 changed files with 9 additions and 6 deletions

View file

@ -68,7 +68,7 @@
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
bakersfield-rpi4 = libx.mkHost { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; type = "small"; };
steamdeck = libx.mkDeck { hostname = "steamdeck"; type = "small"; };
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; type = "small"; };
};
homeConfigurations = {
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; type = "small"; };
@ -81,7 +81,7 @@
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@bakersfield-rpi4" = libx.mkHome { hostname = "bakersfield-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; type = "small"; };
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; type = "small"; };
# Containers
"albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; desktop = "xfce"; };
};

View file

@ -85,15 +85,14 @@
system ? "x86_64-linux",
theme ? "stylix",
type ? "default",
repo ? "nixpkgs-unstable",
unfree ? false
repo ? "nixpkgs-unstable"
}: inputs.${repo}.lib.nixosSystem {
specialArgs = {
inherit inputs outputs desktop hostname username hmStateVersion stateVersion gpu system theme self;
# Some packages (ie, Vintage Story) I want to keep on unstable no matter what default repo I use
pkgs-unstable = import inputs.nixpkgs-unstable {
inherit system;
config.allowUnfree = unfree;
config.allowUnfree = true;
hostPlatform = system;
};
};

View file

@ -26,6 +26,7 @@
steam.enable = true;
steam.autoStart = true;
steam.user = username;
steam.desktopSession = "plasma";
steamos.useSteamOSConfig = true;
devices.steamdeck.enable = true;
hardware.has.amd.gpu = true;

View file

@ -1,5 +1,8 @@
{ lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
{ lib, inputs, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
imports = [
# Modules
inputs.disko.nixosModules.disko
# Services
./common/services/openssh.nix
./common/services/fail2ban.nix