Compare commits
No commits in common. "43288e9d338662c69bdc9048e05fc1a9c4660f19" and "f737418d5be51c30b98720153c3fe9f29553cc55" have entirely different histories.
43288e9d33
...
f737418d5b
5 changed files with 0 additions and 138 deletions
|
@ -18,9 +18,6 @@
|
||||||
controlPersist = "10m";
|
controlPersist = "10m";
|
||||||
# Configure known hosts
|
# Configure known hosts
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"tides" = {
|
|
||||||
hostname = "150.136.87.190";
|
|
||||||
};
|
|
||||||
"static.stranger.systems" = {
|
"static.stranger.systems" = {
|
||||||
hostname = "129.153.226.221";
|
hostname = "129.153.226.221";
|
||||||
user = "ubuntu";
|
user = "ubuntu";
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
|
||||||
boot = {
|
|
||||||
loader = {
|
|
||||||
systemd-boot.enable = true;
|
|
||||||
efi = {
|
|
||||||
canTouchEfiVariables = true;
|
|
||||||
efiSysMountPoint = "/boot";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
initrd.systemd.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostName = "tides";
|
|
||||||
networking.domain = "stranger.systems";
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
time.timeZone = "America/Louisville";
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
|
|
||||||
# Enable passwordless sudo.
|
|
||||||
security.sudo.extraRules = [
|
|
||||||
{
|
|
||||||
users = ["nathan"];
|
|
||||||
commands = [
|
|
||||||
{
|
|
||||||
command = "ALL";
|
|
||||||
options = ["NOPASSWD"];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
services.openssh.enable = true;
|
|
||||||
|
|
||||||
system.stateVersion = "24.11"; # Did you read the comment?
|
|
||||||
}
|
|
|
@ -1,37 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_scsi" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/ebde67a3-7bb8-4453-953b-897440b1ced5";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/9119-BB6A";
|
|
||||||
fsType = "vfat";
|
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp0s6.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
||||||
}
|
|
|
@ -1,51 +0,0 @@
|
||||||
{
|
|
||||||
withSystem,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# perSystem = { ... }: { config.packages.hello = ...; };
|
|
||||||
|
|
||||||
flake.nixosConfigurations.crash = withSystem "aarch64-linux" (
|
|
||||||
ctx @ {
|
|
||||||
config,
|
|
||||||
inputs',
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
|
||||||
# Expose `packages`, `inputs` and `inputs'` as module arguments.
|
|
||||||
# Use specialArgs permits use in `imports`.
|
|
||||||
# Note: if you publish modules for reuse, do not rely on specialArgs, but
|
|
||||||
# on the flake scope instead. See also https://flake.parts/define-module-in-separate-file.html
|
|
||||||
specialArgs = {
|
|
||||||
packages = config.packages;
|
|
||||||
inherit inputs inputs';
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
(
|
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
# Our modules
|
|
||||||
(import ../../modules/base.nix {inherit inputs;})
|
|
||||||
(import ./configuration.nix)
|
|
||||||
(import ./hardware.nix)
|
|
||||||
(import ../../modules/user.nix {
|
|
||||||
inherit inputs;
|
|
||||||
mutableUsers = false;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
|
@ -19,8 +19,6 @@
|
||||||
tmux
|
tmux
|
||||||
alejandra
|
alejandra
|
||||||
nix-index
|
nix-index
|
||||||
curl
|
|
||||||
wget
|
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
|
Loading…
Add table
Reference in a new issue