Initial commit

This commit is contained in:
AXOLOTsh
2026-01-28 11:41:51 +03:00
commit c1d66293aa
52 changed files with 817 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{ config, pkgs, ... } : {
imports = [
./hardware-configuration.nix
./index.nix
];
networking.networkmanager.enable = true;
networking.hostName = "nix-axolotsh";
system.stateVersion = "25.05";
}

View File

@@ -0,0 +1,41 @@
{
disko.devices = {
disk = {
main = {
type = "disk";
device = "/dev/sda";
content = {
type = "gpt";
partitions = {
ESP = {
size = "256M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
swap = {
size = "4G";
content = {
type = "swap";
resumeDevice = true;
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}

View File

@@ -0,0 +1,6 @@
{ ... } : {
networking.firewall.enable = false;
# networking.firewall.allowedTCPPorts = [ ];
# networking.firewall.allowedUDPPorts = [ ];
}

View File

@@ -0,0 +1,19 @@
{ self, ... } : {
imports = [
"${self}/modules/system/boot/grub-efi.nix"
"${self}/modules/system/filesystem.nix"
"${self}/modules/system/experimental-features.nix"
"${self}/modules/system/unfree.nix"
"${self}/modules/system/localization.nix"
"${self}/modules/packages.nix"
"${self}/modules/openssh.nix"
"${self}/modules/vscode-server.nix"
./users.nix
./firewall.nix
];
}

View File

@@ -0,0 +1,3 @@
{ self, ... } : {
imports = [ "${self}/modules/system/default-user.nix" ];
}