Change home-manager to nix module

This commit is contained in:
askiiart 2023-12-30 18:04:43 -06:00
parent c6e5489e20
commit ccabbaafce
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
4 changed files with 16 additions and 1 deletions

View file

@ -20,6 +20,7 @@ in
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./custom.nix
./home-manager.nix
];
# Use the ~~systemd-boot~~ grub EFI boot loader.

View file

@ -0,0 +1,12 @@
{ configs, pkgs, ... }:
let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
in
{
imports = [
(import "${home-manager}/nixos")
];
home-manager.users.askiiart = import /home/askiiart/.config/home-manager/home.nix;
}