adjusting scripts to my own user

This commit is contained in:
akunito 2024-07-17 16:50:35 +02:00
parent ef32ac7a28
commit 0faf6690a6
32 changed files with 2252 additions and 12 deletions

View file

@ -0,0 +1,3 @@
#+title: Just chillin'
This is my profile for a personal computer. It is functionally identical to my [[../work]] profile, but includes extra things like games and social apps!

View file

@ -0,0 +1,18 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ ... }:
{
imports =
[ ../work/configuration.nix # Personal is essentially work system + games
../../system/hardware-configuration.nix
../../system/app/gamemode.nix
../../system/app/steam.nix
../../system/app/prismlauncher.nix
../../system/security/doas.nix
../../system/security/gpg.nix
../../system/security/blocklist.nix
../../system/security/firewall.nix
];
}

View file

@ -0,0 +1,36 @@
{ config, pkgs, userSettings, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = userSettings.username;
home.homeDirectory = "/home/"+userSettings.username;
programs.home-manager.enable = true;
imports = [ ../work/home.nix # Personal is essentially work system + games
../../user/app/games/games.nix # Various videogame apps
];
home.stateVersion = "22.11"; # Please read the comment before changing.
home.packages = with pkgs; [
# Core
zsh
alacritty
librewolf
brave
git
syncthing
];
xdg.enable = true;
xdg.userDirs = {
extraConfig = {
XDG_GAME_DIR = "${config.home.homeDirectory}/Media/Games";
XDG_GAME_SAVE_DIR = "${config.home.homeDirectory}/Media/Game Saves";
};
};
}