67 lines
1.5 KiB
Nix
67 lines
1.5 KiB
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
homeUpdateLocation = "/home/deck/Projects/nixos#deck";
|
|
in
|
|
{
|
|
imports = [
|
|
../../home-manager/base.nix
|
|
../../home-manager/gaming.nix
|
|
../../home-manager/development/vscode.nix
|
|
];
|
|
|
|
terminal.homeUpdateLocation = homeUpdateLocation;
|
|
terminal.flakeUpdateLocation = "/home/deck/Projects/nixos";
|
|
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
};
|
|
nix.gc.automatic = true;
|
|
|
|
home.username = "deck";
|
|
home.homeDirectory = "/home/deck";
|
|
|
|
home.stateVersion = "24.05";
|
|
|
|
home.packages = with pkgs;[
|
|
system-manager
|
|
];
|
|
|
|
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
|
|
# '';
|
|
"nix-steam-run.sh" = {
|
|
text = ''
|
|
unset LD_PRELOAD
|
|
# shellcheck source=/dev/null
|
|
source /etc/profile.d/nix.sh
|
|
exec "$@"
|
|
'';
|
|
executable = true;
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
topgrade = {
|
|
settings = {
|
|
post_commands = {
|
|
nix-system-manager = "sudo system-manager switch --flake ${homeUpdateLocation}";
|
|
};
|
|
};
|
|
};
|
|
|
|
kodi = {
|
|
enable = true;
|
|
package = pkgs.kodi.withPackages (exts: [ exts.jellycon exts.joystick ]);
|
|
};
|
|
};
|
|
}
|