Change home-manager to nix module
This commit is contained in:
parent
c6e5489e20
commit
ccabbaafce
4 changed files with 16 additions and 1 deletions
2
dotfiles
2
dotfiles
|
@ -1 +1 @@
|
||||||
Subproject commit b25ad532750a4771774d1d664620b5b4d8887732
|
Subproject commit 118250f033a1574afe7162db6a02ccf2a4747648
|
|
@ -20,6 +20,7 @@ in
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./custom.nix
|
./custom.nix
|
||||||
|
./home-manager.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the ~~systemd-boot~~ grub EFI boot loader.
|
# 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;
|
||||||
|
}
|
|
@ -23,5 +23,7 @@
|
||||||
pkgs.pinentry-gtk2
|
pkgs.pinentry-gtk2
|
||||||
pkgs.pass
|
pkgs.pass
|
||||||
pkgs.dotnet-runtime_7
|
pkgs.dotnet-runtime_7
|
||||||
|
pkgs.fastfetch
|
||||||
|
pkgs.digikam
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue