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

@@ -0,0 +1,9 @@
{config, ...}: {
imports = [
# ./i3
# ./i3status-rust
# ./polybar
./hyprland
./waybar
];
}

View File

@@ -1,7 +1,5 @@
{
imports = [
./alacritty
./helix
./kitty
./nvim
];

View File

@@ -1,4 +1,27 @@
{pkgs, ...}: {
{
pkgs,
lib,
hostname,
...
}: let
wrap_gl = program: let
name = lib.strings.getName program.name;
in
pkgs.symlinkJoin {
name = name;
paths = [
(pkgs.writeShellScriptBin name ''
${pkgs.nixgl.nixGLIntel}/bin/nixGLIntel ${program}/bin/${name}
'')
program
];
};
package =
if hostname == "deck"
then (wrap_gl pkgs.kitty)
else pkgs.kitty;
in {
home.file.".config/kitty/catppuccin.conf" = {
source = ./catppuccin.conf;
};
@@ -7,6 +30,7 @@
font = {
name = "Iosevka Nerd Font";
};
package = package;
settings = {
"include" = "catppuccin.conf";
"scrollback_lines" = 50000;

Some files were not shown because too many files have changed in this diff Show More