2022-09-04 02:32:49 -04:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
inherit (import ../lib.nix { inherit lib; inherit pkgs; }) nLib;
|
|
|
|
in
|
2022-09-04 02:46:27 -04:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../options.nix
|
2022-09-04 04:11:28 -04:00
|
|
|
./programs/util.nix
|
2022-09-04 02:46:27 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
options = with lib; with nLib; { };
|
2022-09-04 02:48:19 -04:00
|
|
|
|
|
|
|
config = {
|
2022-09-04 04:03:24 -04:00
|
|
|
environment.packages = with pkgs; [
|
|
|
|
nettools
|
|
|
|
];
|
2022-09-04 03:15:17 -04:00
|
|
|
|
2022-09-04 02:48:19 -04:00
|
|
|
# Set system state version
|
|
|
|
system.stateVersion = "22.05";
|
|
|
|
# Enable flakes
|
|
|
|
# Enable nix flakes
|
|
|
|
nix.package = pkgs.nixFlakes;
|
|
|
|
nix.extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
2022-09-04 03:15:17 -04:00
|
|
|
|
|
|
|
# Set login shell
|
2022-09-04 03:17:19 -04:00
|
|
|
user.shell = "${pkgs.fish}/bin/fish";
|
2022-09-04 04:09:33 -04:00
|
|
|
|
|
|
|
nathan.config.user = "nix-on-droid";
|
2022-09-04 02:48:19 -04:00
|
|
|
};
|
2022-09-04 02:46:27 -04:00
|
|
|
}
|