mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 03:00:13 +02:00
install.sh installs Nix (nix-installer, steam-deck planner, flakes enabled) and activates a Home Manager configuration, creating one from the new flake template if there is none; uninstall stops Home Manager's user services, runs home-manager uninstall and removes Nix and per-user leftovers; status shows the current state. Works piped from curl.
25 lines
1.1 KiB
Nix
25 lines
1.1 KiB
Nix
{ config, pkgs, username, homeDirectory, ... }: {
|
|
home.username = username; # set in flake.nix
|
|
home.homeDirectory = homeDirectory; # set in flake.nix
|
|
|
|
# Home Manager release this configuration was first written for. Don't
|
|
# change it on upgrades; see the home.stateVersion option docs.
|
|
home.stateVersion = "26.05";
|
|
|
|
targets.genericLinux.enable = true; # non-NixOS integration
|
|
programs.home-manager.enable = true; # the `home-manager` command
|
|
|
|
# Packages for your user, e.g.:
|
|
# home.packages = with pkgs; [ htop ripgrep ];
|
|
|
|
# Steam Frame fixes, see https://github.com/lhns/steam-frame-nix
|
|
# (portalFix and clipboardSync are on by default).
|
|
# steamFrame = {
|
|
# keyboardLayout = "de"; # XKB layout for the Steam session
|
|
# steamKeyboardPatch.enable = true; # Esc/Ctrl/Alt/arrows on the VR keyboard
|
|
# firefox.enable = true; # launcher for the Firefox Flatpak
|
|
# # Hidden from the "+" menu (with Steam Developer Mode on):
|
|
# hiddenApps = [ "lxterminal" "cmake-gui" "firewall-config" "renderdoc" ];
|
|
# };
|
|
}
|