Steam deck updates
This commit is contained in:
parent
2fe122ea54
commit
7a3d322243
4 changed files with 9 additions and 6 deletions
|
@ -68,7 +68,7 @@
|
||||||
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
quitman-rpi4 = libx.mkHost { hostname = "quitman-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"; };
|
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 = {
|
homeConfigurations = {
|
||||||
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; type = "small"; };
|
"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@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@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@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
|
# Containers
|
||||||
"albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; desktop = "xfce"; };
|
"albert@rdesktop" = libx.mkHome { hostname = "rdesktop"; desktop = "xfce"; };
|
||||||
};
|
};
|
||||||
|
|
|
@ -85,15 +85,14 @@
|
||||||
system ? "x86_64-linux",
|
system ? "x86_64-linux",
|
||||||
theme ? "stylix",
|
theme ? "stylix",
|
||||||
type ? "default",
|
type ? "default",
|
||||||
repo ? "nixpkgs-unstable",
|
repo ? "nixpkgs-unstable"
|
||||||
unfree ? false
|
|
||||||
}: inputs.${repo}.lib.nixosSystem {
|
}: inputs.${repo}.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs outputs desktop hostname username hmStateVersion stateVersion gpu system theme self;
|
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
|
# Some packages (ie, Vintage Story) I want to keep on unstable no matter what default repo I use
|
||||||
pkgs-unstable = import inputs.nixpkgs-unstable {
|
pkgs-unstable = import inputs.nixpkgs-unstable {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = unfree;
|
config.allowUnfree = true;
|
||||||
hostPlatform = system;
|
hostPlatform = system;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
steam.autoStart = true;
|
steam.autoStart = true;
|
||||||
steam.user = username;
|
steam.user = username;
|
||||||
|
steam.desktopSession = "plasma";
|
||||||
steamos.useSteamOSConfig = true;
|
steamos.useSteamOSConfig = true;
|
||||||
devices.steamdeck.enable = true;
|
devices.steamdeck.enable = true;
|
||||||
hardware.has.amd.gpu = true;
|
hardware.has.amd.gpu = true;
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{ lib, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
|
{ lib, inputs, pkgs, hostname, stateVersion, username, desktop, system, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
|
# Modules
|
||||||
|
inputs.disko.nixosModules.disko
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
./common/services/openssh.nix
|
./common/services/openssh.nix
|
||||||
./common/services/fail2ban.nix
|
./common/services/fail2ban.nix
|
||||||
|
|
Loading…
Reference in a new issue