Steam deck perhaps
This commit is contained in:
9
users/configs/desktop/default.nix
Normal file
9
users/configs/desktop/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
# ./i3
|
||||
# ./i3status-rust
|
||||
# ./polybar
|
||||
./hyprland
|
||||
./waybar
|
||||
];
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./alacritty
|
||||
./helix
|
||||
./kitty
|
||||
./nvim
|
||||
];
|
||||
@@ -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
Reference in New Issue
Block a user