This commit is contained in:
Daniel Langbein 2023-10-09 12:37:26 +02:00
parent df648d54b9
commit 70ae169356
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
5 changed files with 15 additions and 61 deletions

View File

@ -3,27 +3,13 @@
# and in the NixOS manual (accessible by running `nixos-help`). # and in the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }: { config, pkgs, ... }:
let
# Import Home Manager with niv.
home-manager = (import ../../nix/sources.nix).home-manager;
#home-manager-source = import (import ../../nix/sources.nix).home-manager {};
in
{ {
# Paths to other modules.
# Compose this module out of smaller ones.
# https://nixos.wiki/wiki/NixOS_modules
imports = imports =
[ [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# Home Manager.
(import "${home-manager}/nixos")
#home-manager-source.nixos
../../modules/home-manager.nix
# NUR.
../../modules/nur.nix
./host-specific.nix ./host-specific.nix
../../modules/home-manager.nix
../../modules/nur.nix
../../modules/base.nix ../../modules/base.nix
../../modules/headless.nix ../../modules/headless.nix

View File

@ -3,26 +3,12 @@
# and in the NixOS manual (accessible by running `nixos-help`). # and in the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }: { config, pkgs, ... }:
let
# Import Home Manager with niv.
home-manager = (import ../../nix/sources.nix).home-manager;
#home-manager-source = import (import ../../nix/sources.nix).home-manager {};
in
{ {
# Paths to other modules.
# Compose this module out of smaller ones.
# https://nixos.wiki/wiki/NixOS_modules
imports = imports =
[ [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# Home Manager.
(import "${home-manager}/nixos")
#home-manager-source.nixos
../../modules/home-manager.nix ../../modules/home-manager.nix
# NUR.
../../modules/nur.nix ../../modules/nur.nix
../../modules/base.nix ../../modules/base.nix
#../../modules/headless.nix #../../modules/headless.nix

View File

@ -3,26 +3,12 @@
# and in the NixOS manual (accessible by running `nixos-help`). # and in the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }: { config, pkgs, ... }:
let
# Import Home Manager with niv.
home-manager = (import ../../nix/sources.nix).home-manager;
#home-manager-source = import (import ../../nix/sources.nix).home-manager {};
in
{ {
# Paths to other modules.
# Compose this module out of smaller ones.
# https://nixos.wiki/wiki/NixOS_modules
imports = imports =
[ [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# Home Manager.
(import "${home-manager}/nixos")
#home-manager-source.nixos
../../modules/home-manager.nix ../../modules/home-manager.nix
# NUR.
../../modules/nur.nix ../../modules/nur.nix
../../modules/base.nix ../../modules/base.nix
#../../modules/headless.nix #../../modules/headless.nix

View File

@ -3,27 +3,13 @@
# and in the NixOS manual (accessible by running `nixos-help`). # and in the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }: { config, pkgs, ... }:
let
# Import Home Manager with niv.
home-manager = (import ../../nix/sources.nix).home-manager;
#home-manager-source = import (import ../../nix/sources.nix).home-manager {};
in
{ {
# Paths to other modules.
# Compose this module out of smaller ones.
# https://nixos.wiki/wiki/NixOS_modules
imports = imports =
[ [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# Home Manager.
(import "${home-manager}/nixos")
#home-manager-source.nixos
../../modules/home-manager.nix
# NUR.
../../modules/nur.nix
./host-specific.nix ./host-specific.nix
../../modules/home-manager.nix
../../modules/nur.nix
../../modules/base.nix ../../modules/base.nix
../../modules/headless.nix ../../modules/headless.nix

View File

@ -1,6 +1,16 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
# Import Home Manager with niv.
home-manager = (import ../nix/sources.nix).home-manager;
#home-manager-source = import (import ../nix/sources.nix).home-manager {};
in
{ {
imports = [
# Home Manager.
(import "${home-manager}/nixos")
#home-manager-source.nixos
];
# This option may become the default value in the future. # This option may become the default value in the future.
# https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module # https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module
home-manager.useUserPackages = true; home-manager.useUserPackages = true;