Move home-manager.nix to home-manager/main.nix

This commit is contained in:
Sijmen 2023-06-19 00:51:30 +02:00
parent d011815d05
commit 148b78f8dc
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
4 changed files with 22 additions and 22 deletions

View File

@ -2,7 +2,7 @@
{
imports = [
./home-manager.nix
./home-manager/main.nix
];
nix = {

View File

@ -1,20 +0,0 @@
{ config, pkgs, lib, ... }:
{
imports = [<home-manager/nixos>];
home-manager.users.sijmen = {
imports = [
./home-manager/home.nix
./home-manager/gtk.nix
./home-manager/systemd.nix
./home-manager/programs.nix
./home-manager/wayland.nix
./home-manager/services.nix
./home-manager/accounts.nix
];
nixpkgs.config.allowUnfree = true;
home.stateVersion = config.system.stateVersion;
};
}

View File

@ -133,7 +133,7 @@
ncdu = "${pkgs.ncdu}/bin/ncdu --color dark";
config = "vim /etc/nixos/configuration.nix";
hmconf = "vim /etc/nixos/common/home-manager.nix";
hmconf = "vim /etc/nixos/common/home-manager/main.nix";
hmhconf = "vim /etc/nixos/common/home-manager/home.nix";
switch = "sudo nixos-rebuild switch";

View File

@ -0,0 +1,20 @@
{ config, pkgs, lib, ... }:
{
imports = [<home-manager/nixos>];
home-manager.users.sijmen = {
imports = [
./home.nix
./gtk.nix
./systemd.nix
./programs.nix
./wayland.nix
./services.nix
./accounts.nix
];
nixpkgs.config.allowUnfree = true;
home.stateVersion = config.system.stateVersion;
};
}