feat(host/polymita-picta): switch to plasma-mobile on deck

This commit is contained in:
Malte Tammena 2023-12-01 21:30:36 +01:00
parent 652423c4af
commit b5ecf530f0
3 changed files with 39 additions and 10 deletions

View file

@ -962,7 +962,12 @@
}
},
"jovian-nixos": {
"flake": false,
"inputs": {
"nix-github-actions": "nix-github-actions",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1699775106,
"narHash": "sha256-NzzQqHpCn5zg58hUF0W3V3sqJuuKGc31hTMBNfEXpr4=",
@ -974,6 +979,7 @@
"original": {
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "97dfcb8aa32a0ff07426b01c4d27c674c717ff76",
"type": "github"
}
},
@ -1115,7 +1121,7 @@
"nix-eval-jobs": {
"inputs": {
"flake-parts": "flake-parts_6",
"nix-github-actions": "nix-github-actions",
"nix-github-actions": "nix-github-actions_2",
"nixpkgs": "nixpkgs_12",
"treefmt-nix": "treefmt-nix_3"
},
@ -1134,6 +1140,28 @@
}
},
"nix-github-actions": {
"inputs": {
"nixpkgs": [
"jovian-nixos",
"nixpkgs"
]
},
"locked": {
"lastModified": 1690328911,
"narHash": "sha256-fxtExYk+aGf2YbjeWQ8JY9/n9dwuEt+ma1eUFzF8Jeo=",
"owner": "zhaofengli",
"repo": "nix-github-actions",
"rev": "96df4a39c52f53cb7098b923224d8ce941b64747",
"type": "github"
},
"original": {
"owner": "zhaofengli",
"ref": "matrix-name",
"repo": "nix-github-actions",
"type": "github"
}
},
"nix-github-actions_2": {
"inputs": {
"nixpkgs": [
"nixpkgs-wayland",

View file

@ -15,6 +15,10 @@
nixpkgs-wayland = {
url = "github:nix-community/nixpkgs-wayland";
};
jovian-nixos = {
url = "github:Jovian-Experiments/Jovian-NixOS?rev=97dfcb8aa32a0ff07426b01c4d27c674c717ff76";
inputs.nixpkgs.follows = "nixpkgs";
};
mensa = {
url = "github:MalteT/mensa/main";
inputs.nixpkgs.follows = "nixpkgs";
@ -50,10 +54,6 @@
url = "github:qmk/qmk_firmware";
flake = false;
};
jovian-nixos = {
url = "github:Jovian-Experiments/Jovian-NixOS";
flake = false;
};
};
nixConfig = {

View file

@ -1,11 +1,12 @@
{
pkgs,
lib,
inputs,
...
}: {
imports = [
inputs.self.nixosModules.homeManagerConfig
(inputs.jovian-nixos + "/modules")
inputs.jovian-nixos.nixosModules.default
../hardware/steam-deck.nix
];
config = {
@ -26,10 +27,10 @@
# === Settings ===
settings.ssh.openOutsideVPN = true;
hardware.pulseaudio.enable = false;
hardware.pulseaudio.enable = lib.mkForce false;
services.xserver.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.plasma5.mobile.enable = true;
services.xserver.displayManager = {
autoLogin = {
enable = true;
@ -91,7 +92,7 @@
jovian.devices.steamdeck.autoUpdate = true;
jovian.steam.enable = true;
jovian.steam.autoStart = true;
jovian.steam.desktopSession = "plasma";
jovian.steam.desktopSession = "plasma-mobile";
jovian.steam.user = "deck";
jovian.decky-loader = {
enable = true;