initialization

This commit is contained in:
biscuit
2025-05-19 17:53:19 -05:00
commit c1e4ef47f3
30 changed files with 451 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
{ ... }: {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}
+3
View File
@@ -0,0 +1,3 @@
{ ... }: {
programs.firefox.enable = true;
}
+7
View File
@@ -0,0 +1,7 @@
{ ... }: {
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
}
+9
View File
@@ -0,0 +1,9 @@
{ ... }: {
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "Lat2-Terminus16";
# keyMap = "us";
useXkbConfig = true; # use xkb.options in tty.
};
}
+6
View File
@@ -0,0 +1,6 @@
{ ... }: {
networking.hostName = "nixos";
# Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
}
+5
View File
@@ -0,0 +1,5 @@
{ ... }: {
services = {
printing.enable = true;
};
}
+5
View File
@@ -0,0 +1,5 @@
{ ... }: {
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
}
+6
View File
@@ -0,0 +1,6 @@
{ ... }: {
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
system.copySystemConfiguration = true;
}
+9
View File
@@ -0,0 +1,9 @@
{ ... }: {
# Enable sound.
# services.pulseaudio.enable = true;
# OR
services.pipewire = {
enable = true;
pulse.enable = true;
};
}
+3
View File
@@ -0,0 +1,3 @@
{ ... }: {
services.openssh.enable = true;
}
+3
View File
@@ -0,0 +1,3 @@
{...}: {
programs.zsh.enable = true;
}
+3
View File
@@ -0,0 +1,3 @@
{ ... }: {
time.timeZone = "America/Chicago";
}
+4
View File
@@ -0,0 +1,4 @@
{ ... }: {
# Enable touchpad support (enabled default in most desktopManager).
services.libinput.enable = true;
}
+10
View File
@@ -0,0 +1,10 @@
{ pkgs, ... }: {
users.users.biscuit = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];
initialHashedPassword = "$6$Qab6SSvEJM2YRtVA$7Oyl7E3pp/FKtCC.2Tb2tyzp3yp7BFHFAKngUYJssQJ.v1Q2mqsgW9m7njpaKNcka2vyCwrnmw1R.YPlFqR0p1";
shell = pkgs.zsh;
packages = with pkgs; [
];
};
}