Files
nixos/devices/deck/home.nix
Steam Deck User 3bda156ab4 add nixgl
2025-02-23 16:22:20 +00:00

53 lines
1.3 KiB
Nix

{ pkgs, inputs, config, ... }:
{
imports = [
../../home-manager/base.nix
../../home-manager/gaming.nix
../../home-manager/development/vscode.nix
];
terminal.homeUpdateLocation = "/home/deck/Projects/nixos#deck";
terminal.flakeUpdateLocation = "/home/deck/Projects/nixos";
nixpkgs.config = {
allowUnfree = true;
};
home.username = "deck";
home.homeDirectory = "/home/deck";
home.stateVersion = "24.05";
home.packages = with pkgs;[ (config.lib.nixGL.wrap nextcloud-client) ];
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
nixGL = {
packages = inputs.nixgl.packages;
# vulkan.enable = true;
};
programs.kodi = {
enable = true;
package = config.lib.nixGL.wrap (pkgs.kodi.withPackages (exts: [ exts.jellycon exts.joystick ]));
};
systemd.user.services.nextcloud-client = {
Unit = {
After = pkgs.lib.mkForce "graphical-session.target";
};
};
}