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.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_CA.UTF-8";
|
i18n.defaultLocale = "en_CA.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
|
@ -27,6 +32,7 @@
|
||||||
home-manager.users = let
|
home-manager.users = let
|
||||||
default = {
|
default = {
|
||||||
imports = [
|
imports = [
|
||||||
|
nur.hmModules.nur
|
||||||
./modules/neovim
|
./modules/neovim
|
||||||
./modules/bash
|
./modules/bash
|
||||||
];
|
];
|
||||||
|
@ -36,8 +42,4 @@
|
||||||
root = default;
|
root = default;
|
||||||
matt = 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'.
|
# Define a user account. Don't forget to set a password with 'passwd'.
|
||||||
users.users.matt = {
|
users.users.matt = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -14,14 +8,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# TODO: use hm for tmux
|
# TODO: use hm for tmux
|
||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
matt = {
|
matt = {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
nur.hmModules.nur
|
|
||||||
./dconf.nix
|
./dconf.nix
|
||||||
./theme.nix
|
./theme.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
|
|
Loading…
Reference in a new issue