Steam deck perhaps

This commit is contained in:
2023-06-24 16:27:46 +01:00
parent 5eb965823e
commit 8864fc294d
120 changed files with 208 additions and 339 deletions

View File

@@ -17,6 +17,9 @@
golink.url = "github:tailscale/golink";
golink.inputs.nixpkgs.follows = "nixpkgs";
nixgl.url = "github:/guibou/nixGL";
nixgl.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = {
@@ -26,6 +29,7 @@
i3utils,
hyprland,
golink,
nixgl,
...
}: let
system = "x86_64-linux";
@@ -37,6 +41,7 @@
overlays = [
golink.overlay
hyprland.overlays.default
nixgl.overlay
];
})
// {
@@ -56,6 +61,17 @@
lib = nixpkgs.lib;
deckSystem = {hostname}:
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./users/deck
];
extraSpecialArgs = {
inherit hostname;
};
};
hostSystem = {
hostname,
headless,
@@ -117,5 +133,10 @@
headless = true;
};
};
homeConfigurations = {
"deck" = deckSystem {
hostname = "deck";
};
};
};
}