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
2 changed files with 63 additions and 0 deletions

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"
# ];
# };
}