finished migrating config to new flake structure
This commit is contained in:
parent
5764ac1119
commit
7404966c92
14 changed files with 37 additions and 427 deletions
|
|
@ -1,14 +1,9 @@
|
|||
{ modulesPath, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
../.modules/services/docker.nix
|
||||
../.modules/users/speccon18.nix
|
||||
../.modules/services/openssh.nix
|
||||
../.modules/features/desktop/environments/gnome.nix
|
||||
];
|
||||
system.stateVersion = "22.11";
|
||||
time.timeZone = "America/Detroit";
|
||||
|
||||
# Allow non opensource software to be installed
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
@ -33,34 +28,26 @@
|
|||
htop
|
||||
bat
|
||||
exa
|
||||
helix
|
||||
zsh
|
||||
vim
|
||||
tailscale
|
||||
dig
|
||||
rage
|
||||
sops
|
||||
direnv
|
||||
uutils-coreutils
|
||||
htop
|
||||
];
|
||||
|
||||
networking = {
|
||||
firewall.checkReversePath = "loose";
|
||||
hostName = "creatorforge"; # Define your hostname.
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [];
|
||||
checkReversePath = "loose";
|
||||
};
|
||||
# networkmanager.enable = true;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
time.timeZone = "America/Detroit";
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [];
|
||||
};
|
||||
## main services
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
### testing ###
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -3,12 +3,12 @@
|
|||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
# ../.modules/base/hardware.nix
|
||||
# ../modules/base/hardware.nix
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
../.modules/services/docker.nix
|
||||
../.modules/users/arouzing.nix
|
||||
../.modules/users/speccon18.nix
|
||||
../.modules/services/openssh.nix
|
||||
../modules/services/docker.nix
|
||||
../modules/users/arouzing.nix
|
||||
../modules/users/speccon18.nix
|
||||
../modules/services/openssh.nix
|
||||
];
|
||||
|
||||
# base packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue