mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
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:
parent
93d9693f4c
commit
3ff05f0117
@ -1,10 +1,38 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./home-manager
|
|
||||||
./locale
|
|
||||||
./nix
|
|
||||||
./systemd
|
|
||||||
./timezone
|
|
||||||
./user
|
./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";
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
home-manager = {
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
|
|
||||||
sharedModules = [{
|
|
||||||
home.stateVersion = "22.11";
|
|
||||||
}];
|
|
||||||
};
|
|
||||||
}
|
|
@ -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" ];
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
nix = {
|
|
||||||
package = pkgs.nixFlakes;
|
|
||||||
settings = {
|
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
systemd.extraConfig = ''
|
|
||||||
DefaultTimeoutStopSec=10s
|
|
||||||
'';
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
time.timeZone = "America/New_York";
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user