Change home-manager to nix module
This commit is contained in:
parent
c6e5489e20
commit
ccabbaafce
4 changed files with 16 additions and 1 deletions
|
@ -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.
|
||||
|
|
12
etc-nixos/home-manager.nix
Normal file
12
etc-nixos/home-manager.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue