move from nix channel to module
This commit is contained in:
parent
f89ae068ed
commit
d0c6c5eb45
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
2
home.nix
2
home.nix
|
@ -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 = {
|
||||||
|
|
Reference in a new issue