feat: move some imports to common
This commit is contained in:
parent
c40db05893
commit
b756651051
2 changed files with 9 additions and 15 deletions
|
@ -1,4 +1,9 @@
|
|||
({ nixpkgs, home-manager, lib, ... }: {
|
||||
{ home-manager, lib, nixpkgs, nur, ... }: {
|
||||
imports = [
|
||||
home-manager.nixosModules.default
|
||||
./overlays/list.nix
|
||||
];
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_CA.UTF-8";
|
||||
console = {
|
||||
|
@ -27,6 +32,7 @@
|
|||
home-manager.users = let
|
||||
default = {
|
||||
imports = [
|
||||
nur.hmModules.nur
|
||||
./modules/neovim
|
||||
./modules/bash
|
||||
];
|
||||
|
@ -36,8 +42,4 @@
|
|||
root = default;
|
||||
matt = default;
|
||||
};
|
||||
|
||||
imports = [
|
||||
./overlays/list.nix
|
||||
];
|
||||
})
|
||||
}
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
{ home-manager, nur, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
## Global config to add home-manager module
|
||||
#############################################################################
|
||||
imports = [
|
||||
home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
# Define a user account. Don't forget to set a password with 'passwd'.
|
||||
users.users.matt = {
|
||||
isNormalUser = true;
|
||||
|
@ -14,14 +8,12 @@
|
|||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
#############################################################################
|
||||
|
||||
# TODO: use hm for tmux
|
||||
home-manager.users = {
|
||||
matt = {
|
||||
|
||||
imports = [
|
||||
nur.hmModules.nur
|
||||
./dconf.nix
|
||||
./theme.nix
|
||||
./hyprland.nix
|
||||
|
|
Loading…
Reference in a new issue