add gamescope stuff
This commit is contained in:
parent
182426f2d8
commit
a18dbf318d
5 changed files with 100 additions and 78 deletions
|
|
@ -4,7 +4,13 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ inputs.fht-compositor.nixosModules.default ];
|
imports = [ inputs.fht-compositor.nixosModules.default ];
|
||||||
environment.etc.${filename}.source = (pkgs.formats.toml { }).generate "config.toml" {
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
];
|
||||||
|
|
||||||
|
etc.${filename}.source = (pkgs.formats.toml { }).generate "config.toml" {
|
||||||
autostart = [ "dms run" ];
|
autostart = [ "dms run" ];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
|
@ -26,9 +32,14 @@ in
|
||||||
Super-Ctrl-q = "quit";
|
Super-Ctrl-q = "quit";
|
||||||
Super-Ctrl-r = "reload-config";
|
Super-Ctrl-r = "reload-config";
|
||||||
|
|
||||||
|
Print = {
|
||||||
|
action = "run-command";
|
||||||
|
arg = "grim -g \"$(slurp)\" - | gradia";
|
||||||
|
};
|
||||||
|
|
||||||
Super-t = {
|
Super-t = {
|
||||||
action = "run-command";
|
action = "run-command";
|
||||||
arg = "ptyxis";
|
arg = "ptyxis --new-window";
|
||||||
};
|
};
|
||||||
Super-e = {
|
Super-e = {
|
||||||
action = "run-command";
|
action = "run-command";
|
||||||
|
|
@ -85,6 +96,7 @@ in
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.fht-compositor = {
|
programs.fht-compositor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
13
clients/quadraticpc/gamescope.nix
Normal file
13
clients/quadraticpc/gamescope.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
programs = {
|
||||||
|
steam.gamescopeSession.enable = true;
|
||||||
|
gamescope = {
|
||||||
|
enable = true;
|
||||||
|
args = [
|
||||||
|
"-W 2560"
|
||||||
|
"-H 1440"
|
||||||
|
"-r 165"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -33,7 +33,7 @@ in
|
||||||
authDomain = "auth.federated.nexus";
|
authDomain = "auth.federated.nexus";
|
||||||
domain = "docs.federated.nexus";
|
domain = "docs.federated.nexus";
|
||||||
s3Url = "${s3Domain}/lasuite-docs";
|
s3Url = "${s3Domain}/lasuite-docs";
|
||||||
socket = "/run/lasuite-docs/socket";
|
socket = "/var/run/lasuite-docs/socket";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
lasuite-docs-proxy = {
|
lasuite-docs-proxy = {
|
||||||
|
|
|
||||||
15
flake.lock
generated
15
flake.lock
generated
|
|
@ -2241,17 +2241,14 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-custom": {
|
"nixpkgs-custom": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771522177,
|
"lastModified": 1776470189,
|
||||||
"narHash": "sha256-m62O2bp6ZxPFoZBrd/+fB5Pd4c+pz+7pz4JpqZUZCXw=",
|
"narHash": "sha256-kwzsHPt7X5w5dbS5Gi5EWlBpq8hJCi/7Zwlb17OXlG4=",
|
||||||
"owner": "Henry-Hiles",
|
"path": "/home/quadradical/Documents/Code/nixpkgs",
|
||||||
"repo": "nixpkgs",
|
"type": "path"
|
||||||
"rev": "2d68fc5183e52237ef4d5fef93b99f589f9ac201",
|
|
||||||
"type": "github"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Henry-Hiles",
|
"path": "/home/quadradical/Documents/Code/nixpkgs",
|
||||||
"repo": "nixpkgs",
|
"type": "path"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-latest": {
|
"nixpkgs-latest": {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
gnome-mobile.url = "github:chuangzhu/nixpkgs-gnome-mobile";
|
gnome-mobile.url = "github:chuangzhu/nixpkgs-gnome-mobile";
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
nixpkgs-custom.url = "github:Henry-Hiles/nixpkgs";
|
nixpkgs-custom.url = "/home/quadradical/Documents/Code/nixpkgs";
|
||||||
wrapper-manager.url = "github:viperML/wrapper-manager";
|
wrapper-manager.url = "github:viperML/wrapper-manager";
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
nix-maid.url = "github:viperML/nix-maid";
|
nix-maid.url = "github:viperML/nix-maid";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue