shelman->patagia
This commit is contained in:
parent
ad56904021
commit
9bbd3fa12e
14 changed files with 26 additions and 25 deletions
|
@ -8,7 +8,7 @@ IT in a box!
|
|||
2. Clone this repo:
|
||||
|
||||
```
|
||||
nix-shell -p git --command 'git clone https://git.shelman.io/shelmangroup/nixos-config.git'
|
||||
nix-shell -p git --command 'git clone https://patagia.dev/dln/nixos-config.git'
|
||||
```
|
||||
|
||||
3. Ensure host configuration exists at `./nixos-config/hosts/${HOSTNAME}` and contains at minimum the hardware configuration. The NixOS installer will write this out to `/etc/nixos/hardware-configuration.nix`.
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.shelman.podman;
|
||||
cfg = config.patagia.podman;
|
||||
in
|
||||
{
|
||||
options.shelman.desktop.enable = mkEnableOption "Desktop environment and common applications";
|
||||
options.patagia.desktop.enable = mkEnableOption "Desktop environment and common applications";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ gnome-ssh-askpass4 ];
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.shelman.podman;
|
||||
cfg = config.patagia.podman;
|
||||
in
|
||||
{
|
||||
options.shelman.laptop.enable = mkEnableOption "Laptop tools and configuration";
|
||||
options.patagia.laptop.enable = mkEnableOption "Laptop tools and configuration";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [ gnomeExtensions.battery-health-charging ];
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.shelman.plymouth;
|
||||
cfg = config.patagia.plymouth;
|
||||
in
|
||||
{
|
||||
options.shelman.plymouth.enable = mkEnableOption "Fancy boot splash";
|
||||
options.patagia.plymouth.enable = mkEnableOption "Fancy boot splash";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
boot = {
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.shelman.podman;
|
||||
cfg = config.patagia.podman;
|
||||
in
|
||||
{
|
||||
options.shelman.podman.enable = mkEnableOption "Podman";
|
||||
options.patagia.podman.enable = mkEnableOption "Podman";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.extraInit = ''
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
{
|
||||
"https://git.shelman.io/shelmangroup/dieter.nvim.git",
|
||||
"https://patagia.dev/patagia/dieter.nvim.git",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
},
|
||||
|
|
|
@ -19,5 +19,5 @@
|
|||
./wezterm.nix
|
||||
];
|
||||
|
||||
options.shelman.desktop.enable = lib.mkEnableOption "Desktop environment";
|
||||
options.patagia.desktop.enable = lib.mkEnableOption "Desktop environment";
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.shelman.desktop.enable {
|
||||
config = lib.mkIf config.patagia.desktop.enable {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
inputs.ghostty.packages.${pkgs.system}.default
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}:
|
||||
with lib.hm.gvariant;
|
||||
{
|
||||
config = lib.mkIf config.shelman.desktop.enable {
|
||||
config = lib.mkIf config.patagia.desktop.enable {
|
||||
home.packages = with pkgs; [
|
||||
gnome-tweaks
|
||||
gnome-pomodoro
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkIf config.shelman.desktop.enable {
|
||||
config = lib.mkIf config.patagia.desktop.enable {
|
||||
|
||||
home.packages = with pkgs; [ tor-browser ];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.shelman.desktop.enable {
|
||||
config = lib.mkIf config.patagia.desktop.enable {
|
||||
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
shelman = {
|
||||
patagia = {
|
||||
desktop.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -78,10 +78,10 @@
|
|||
|
||||
networking = {
|
||||
hostName = "dinky";
|
||||
domain = "aarn.shelman.io";
|
||||
domain = "aarn.patagia.dev";
|
||||
search = [
|
||||
"shelman.io"
|
||||
"aarn.shelman.io"
|
||||
"patagia.dev"
|
||||
"aarn.patagia.dev"
|
||||
];
|
||||
useDHCP = lib.mkDefault true;
|
||||
};
|
||||
|
@ -105,7 +105,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
shelman = {
|
||||
patagia = {
|
||||
desktop.enable = true;
|
||||
laptop.enable = true;
|
||||
plymouth.enable = true;
|
||||
|
@ -119,7 +119,7 @@
|
|||
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "nemo.aarn.shelman.io";
|
||||
hostName = "nemo.aarn.patagia.dev";
|
||||
sshUser = "nixremote";
|
||||
system = "x86_64-linux";
|
||||
protocol = "ssh-ng";
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
networking = {
|
||||
hostName = "nemo"; # Define your hostname.
|
||||
domain = "aarn.shelman.io";
|
||||
domain = "aarn.patagia.dev";
|
||||
nameservers = [
|
||||
"10.1.100.11"
|
||||
"10.1.100.12"
|
||||
|
@ -135,8 +135,8 @@
|
|||
services.resolved = {
|
||||
enable = true;
|
||||
domains = [
|
||||
"shelman.io"
|
||||
"aarn.shelman.io"
|
||||
"patagia.dev"
|
||||
"aarn.patagia.dev"
|
||||
];
|
||||
llmnr = "false";
|
||||
fallbackDns = [ "9.9.9.9" ];
|
||||
|
@ -157,7 +157,7 @@
|
|||
settings = { };
|
||||
};
|
||||
|
||||
shelman = {
|
||||
patagia = {
|
||||
desktop.enable = true;
|
||||
plymouth.enable = true;
|
||||
podman.enable = true;
|
||||
|
@ -165,6 +165,7 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ffado
|
||||
libcamera
|
||||
lm_sensors
|
||||
# pkgs.pam_rssh
|
||||
openconnect
|
||||
|
|
Loading…
Reference in a new issue