move from nix channel to module

This commit is contained in:
nixos 2023-09-02 20:49:50 +02:00
parent f89ae068ed
commit d0c6c5eb45
2 changed files with 4 additions and 1 deletions

View file

@ -2,12 +2,13 @@
let let
stateVersion = "23.05"; stateVersion = "23.05";
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${stateVersion}.tar.gz";
in in
{ {
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos> (import "${home-manager}/nixos")
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View file

@ -10,6 +10,8 @@
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
alacritty.enable = true; alacritty.enable = true;
# ripgrep.enable = true;
firefox = { firefox = {
enable = true; enable = true;
profiles.default = { profiles.default = {