add restruct2

This commit is contained in:
cnst
2024-06-27 18:05:43 +02:00
parent 97789f807b
commit 81e269fade
310 changed files with 83561 additions and 19 deletions

39
home/adam/home.nix Normal file
View File

@@ -0,0 +1,39 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{
inputs,
lib,
config,
pkgs,
...
}:
{
# You can import other home-manager modules here
imports = [ ../modules/adam.nix ];
nixpkgs = {
# You can add overlays here
overlays = [ ];
# Configure your nixpkgs instance
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
# Workaround for https://github.com/nix-community/home-manager/issues/2942
allowUnfreePredicate = _: true;
};
};
# TODO: Set your username
home = {
username = "adam";
homeDirectory = "/home/adam";
};
programs.home-manager.enable = true;
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.05";
}