summaryrefslogtreecommitdiff
path: root/machines/owo/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/owo/configuration.nix')
-rw-r--r--machines/owo/configuration.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/machines/owo/configuration.nix b/machines/owo/configuration.nix
new file mode 100644
index 0000000..162fa63
--- /dev/null
+++ b/machines/owo/configuration.nix
@@ -0,0 +1,35 @@
+{ lib, inputs, pkgs, ... }:
+
+{
+ imports = [
+ ./hardware-configuration.nix
+ inputs.home-manager.nixosModules.default
+ ] ++ (map (path: ../../modules/${path}) [
+ "core/global.nix"
+ "ssh.nix"
+ "compromyse.nix"
+ ]);
+
+ networking.hostName = "owo";
+
+ boot.loader.grub = {
+ enable = true;
+ forceInstall = true;
+ device = "/dev/sda";
+ };
+
+ networking.firewall = {
+ enable = lib.mkForce true;
+ allowedTCPPorts = [ 80 443 22 ];
+ };
+
+ programs.fuse.userAllowOther = true;
+ home-manager = {
+ extraSpecialArgs = { inherit inputs; };
+ useGlobalPkgs = true;
+ useUserPackages = true;
+ users = {
+ compromyse = import ./home.nix;
+ };
+ };
+}