mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-23 03:02:42 +00:00
nix:use variables
This commit is contained in:
parent
cf221c7c4b
commit
dfcbd50294
14 changed files with 121 additions and 10 deletions
|
|
@ -1,7 +1,15 @@
|
|||
# ~/.config/nixcfgs/users/js0ny/default.nix
|
||||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
username = "js0ny";
|
||||
in {
|
||||
imports = [
|
||||
../../modules/home/options.nix
|
||||
./config.nix
|
||||
];
|
||||
home.username = username;
|
||||
home.homeDirectory =
|
||||
if pkgs.stdenv.isDarwin
|
||||
|
|
@ -12,5 +20,7 @@ in {
|
|||
home-manager
|
||||
];
|
||||
|
||||
home.sessionVariables.TERMINAL = config.currentUser.defaultTerminal;
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue