machines/uninsane: use the home-manager helper

This commit is contained in:
2022-05-23 00:10:52 -07:00
parent 617fb9fff0
commit c06e9800b9
2 changed files with 3 additions and 9 deletions

View File

@@ -2,9 +2,9 @@
{ {
imports = [ imports = [
./../common/home-manager.nix
./fs.nix ./fs.nix
./hardware.nix ./hardware.nix
./homes.nix
./net.nix ./net.nix
./users.nix ./users.nix
./services/duplicity.nix ./services/duplicity.nix
@@ -19,6 +19,8 @@
./services/transmission.nix ./services/transmission.nix
]; ];
home-manager.users.colin.imports = [ ./colin.nix ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

View File

@@ -1,8 +0,0 @@
{ home-manager, config, pkgs, ... }:
{
imports = [ home-manager.nixosModule ];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.colin.imports = [ ./colin.nix ];
}