set up defiant

This commit is contained in:
Leyla Becker 2024-08-31 11:53:34 -05:00
parent c181da1de5
commit 90b53df81c
7 changed files with 61 additions and 24 deletions

View file

@ -6,6 +6,6 @@ Build Command:
| :---------: | :------------------------: | :--------------: | :-------: | | :---------: | :------------------------: | :--------------: | :-------: |
| `twilight` | Desktop Computer | Leyla | Desktop | | `twilight` | Desktop Computer | Leyla | Desktop |
| `horizon` | 13 inch Framework Laptop | Leyla | Laptop | | `horizon` | 13 inch Framework Laptop | Leyla | Laptop |
| `defiant` | Steam Desk | Leyla | Handheld | | `defiant` | NAS Server | Leyla | Service |
| `emergent` | Desktop Computer | Eve | Laptop | | `emergent` | Desktop Computer | Eve | Laptop |
| `threshold` | Laptop | Eve | Desktop | | `threshold` | Laptop | Eve | Desktop |

View file

@ -45,31 +45,10 @@
#media-session.enable = true; #media-session.enable = true;
}; };
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# version control
git
# helvetica font # helvetica font
aileron aileron
# system debuging tools
iputils
dnsutils
cachefilesd cachefilesd
]; ];
} }

View file

@ -9,8 +9,29 @@
# Set your time zone. # Set your time zone.
time.timeZone = "America/Chicago"; time.timeZone = "America/Chicago";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
# List packages installed in system profile. # List packages installed in system profile.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget wget
# version control
git
# system debuging tools
iputils
dnsutils
]; ];
} }

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
imports = [
../common
];
}

View file

@ -25,7 +25,7 @@
nixosConfigurations = { nixosConfigurations = {
# Leyla Laptop # Leyla Laptop
horizon = nixpkgs.lib.nixosSystem { horizon = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;}; specialArgs = { inherit inputs; };
modules = [ modules = [
./hosts/horizon/configuration.nix ./hosts/horizon/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
@ -34,12 +34,19 @@
}; };
# Leyla Desktop # Leyla Desktop
twilight = nixpkgs.lib.nixosSystem { twilight = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;}; specialArgs = { inherit inputs; };
modules = [ modules = [
./hosts/twilight/configuration.nix ./hosts/twilight/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
]; ];
}; };
# NAS Service
defiant = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inpits; }
modules = [
./hosts/defiant/configuration.nix
]
};
}; };
}; };
} }

View file

@ -0,0 +1,12 @@
# server nas
{ config, pkgs, inputs, ... }:
{
imports =
[
inputs.sops-nix.nixosModules.sops
./hardware-configuration.nix
../../enviroments/server
];
}

View file

@ -0,0 +1,11 @@
# 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 + "/installer/scan/not-detected.nix")
];
}