rework lib and some general changes
This commit is contained in:
parent
48b7ab9fab
commit
af804c63f8
11 changed files with 152 additions and 121 deletions
17
default.nix
17
default.nix
|
@ -1,11 +1,13 @@
|
|||
{ config, inputs, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) filterAttrs _;
|
||||
inherit (builtins) toString;
|
||||
inherit (lib.modules) mkDefault;
|
||||
inherit (lib.my) mapModulesRec';
|
||||
in {
|
||||
imports =
|
||||
[ inputs.home-manager.nixosModules.home-manager ]
|
||||
++ _.mapModulesRec' ./modules import;
|
||||
++ (mapModulesRec' (toString ./modules) import);
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
|
@ -25,14 +27,15 @@ in {
|
|||
environment.systemPackages = with pkgs; [
|
||||
unrar unzip
|
||||
curl wget
|
||||
# hello! if you remove this, good luck
|
||||
# ever rebuilding your system using flakes!
|
||||
# nix does not work without git.
|
||||
# do not remove this.
|
||||
# nix is awesome
|
||||
git
|
||||
];
|
||||
|
||||
time.timeZone = lib.mkDefault "America/Los_Angeles";
|
||||
time.timeZone = mkDefault "America/Los_Angeles";
|
||||
|
||||
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
|
||||
i18n.defaultLocale = mkDefault "en_US.UTF-8";
|
||||
|
||||
system.stateVersion = lib.mkDefault "23.11";
|
||||
system.stateVersion = mkDefault "23.11";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue