mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
26 lines
603 B
Nix
26 lines
603 B
Nix
{ lib, config, pkgs, ... }:
|
|
{
|
|
nix = {
|
|
package = lib.mkDefault pkgs.nix;
|
|
settings = {
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
"ca-derivations"
|
|
"pipe-operators"
|
|
];
|
|
};
|
|
};
|
|
|
|
programs.home-manager.enable = lib.mkIf (!config.swarselsystems.isNixos) true;
|
|
|
|
home = {
|
|
username = lib.mkDefault "swarsel";
|
|
homeDirectory = lib.mkDefault "/home/${config.home.username}";
|
|
stateVersion = lib.mkDefault "23.05";
|
|
keyboard.layout = "us";
|
|
sessionVariables = {
|
|
FLAKE = "${config.home.homeDirectory}/.dotfiles";
|
|
};
|
|
};
|
|
}
|