2023-10-30 14:54:23 +00:00
|
|
|
{ self, ... }:
|
|
|
|
{
|
|
|
|
flake = {
|
|
|
|
nixosModules = rec {
|
|
|
|
nix = import ./nix.nix;
|
|
|
|
networking = import ./networking.nix;
|
|
|
|
unlock-zfs-on-boot = import ./unlock-zfs-on-boot.nix;
|
|
|
|
docker = import ./docker.nix;
|
|
|
|
terminal-tooling = import ./terminal-tooling.nix;
|
|
|
|
users = import ./users.nix;
|
|
|
|
|
2023-11-06 20:28:05 +00:00
|
|
|
core = { pkgs, ... }: {
|
2023-10-30 14:54:23 +00:00
|
|
|
imports = [
|
|
|
|
nix
|
|
|
|
networking
|
|
|
|
terminal-tooling
|
|
|
|
users
|
|
|
|
];
|
|
|
|
|
2023-11-06 20:28:05 +00:00
|
|
|
environment = {
|
|
|
|
# Just a couple of global packages to make our lives easier
|
|
|
|
systemPackages = with pkgs; [ git vim wget ];
|
|
|
|
};
|
|
|
|
|
|
|
|
# Select internationalization properties
|
|
|
|
console = {
|
|
|
|
font = "Lat2-Terminus16";
|
|
|
|
keyMap = "us";
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Etc/UTC";
|
|
|
|
|
2023-10-30 14:54:23 +00:00
|
|
|
home-manager.users.${self.username} = {
|
|
|
|
home.stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|