Add a steam deck nix config.

This commit is contained in:
Tom Alexander 2025-02-09 23:25:13 -05:00
parent c37d0d9b9e
commit 53caf8bc81
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 63 additions and 0 deletions

27
nix/steam_deck/configuration/flake.lock generated Normal file
View File

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1739019272,
"narHash": "sha256-7Fu7oazPoYCbDzb9k8D/DdbKrC3aU1zlnc39Y8jy/s8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "fa35a3c8e17a3de613240fea68f876e5b4896aec",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -0,0 +1,36 @@
{
description = "My system configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs =
{
nixpkgs,
...
}:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.${system}.default = pkgs.buildEnv {
name = "default";
paths = [
pkgs.emacs
pkgs.mg
pkgs.steam-rom-manager
];
};
formatter.${system} = pkgs.nixfmt-rfc-style;
# formatter.${system} = pkgs.alejandra;
};
# nixConfig = {
# experimental-features = [
# "nix-command"
# "flakes"
# ];
# };
}