home-manager: clean up global configuration & import a bit
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
1bdd2dd06e
commit
402d3a5a3a
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../secrets/users.nix ../system/home-manager ];
|
||||
imports = [ ../secrets/users.nix ];
|
||||
|
||||
users.mutableUsers = false;
|
||||
|
||||
|
|
|
@ -146,10 +146,6 @@
|
|||
simple-nixos-mailserver.nixosModules.mailserver
|
||||
{ nixpkgs = { inherit overlays; }; }
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
}
|
||||
# who doesn't love a bit of composability
|
||||
({ config, ... }: {
|
||||
_module.args = {
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../common ../services/openssh.nix ../system/headless.nix ];
|
||||
imports = [
|
||||
../common
|
||||
../system/home-manager
|
||||
../services/openssh.nix
|
||||
../system/headless.nix
|
||||
];
|
||||
|
||||
boot.loader.grub = {
|
||||
efiInstallAsRemovable = true;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../common ../services/openssh.nix ];
|
||||
imports = [ ../common ../system/home-manager ../services/openssh.nix ];
|
||||
|
||||
boot.kernelParams = [ "audit=0" ];
|
||||
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
{ home-manager.users.christoph.imports = [ ./common.nix ]; }
|
||||
{
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
home-manager.users.christoph.imports = [ ./common.nix ];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
imports = [ ../common ../services/openssh.nix ../system/headless.nix ];
|
||||
imports = [
|
||||
../common
|
||||
../system/home-manager
|
||||
../services/openssh.nix
|
||||
../system/headless.nix
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" ];
|
||||
|
|
Loading…
Reference in a new issue