1
0
forked from extern/nix-config

Simplify common imports

This shouldn't be an issue since I'd rather import all of these at once
than selectively import them.
This commit is contained in:
Donovan Glover 2023-05-25 09:09:53 -04:00
parent 93d9693f4c
commit 3ff05f0117
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
6 changed files with 33 additions and 38 deletions

View File

@ -1,10 +1,38 @@
{ pkgs, ... }:
{
imports = [
./home-manager
./locale
./nix
./systemd
./timezone
./user
];
# locale
i18n.defaultLocale = "en_US.UTF-8";
i18n.supportedLocales =
[ "en_US.UTF-8/UTF-8" "ja_JP.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8" ];
# nix
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
# home-manager
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
sharedModules = [{
home.stateVersion = "22.11";
}];
};
# systemd
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
# timezone
time.timeZone = "America/New_York";
}

View File

@ -1,10 +0,0 @@
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
sharedModules = [{
home.stateVersion = "22.11";
}];
};
}

View File

@ -1,5 +0,0 @@
{
i18n.defaultLocale = "en_US.UTF-8";
i18n.supportedLocales =
[ "en_US.UTF-8/UTF-8" "ja_JP.UTF-8/UTF-8" "fr_FR.UTF-8/UTF-8" ];
}

View File

@ -1,10 +0,0 @@
{ pkgs, ... }:
{
nix = {
package = pkgs.nixFlakes;
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
}

View File

@ -1,5 +0,0 @@
{
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
}

View File

@ -1,3 +0,0 @@
{
time.timeZone = "America/New_York";
}