Fix up Kurin

This commit is contained in:
2026-04-02 02:44:48 +02:00
parent 4a65813176
commit a2d5ca2963
9 changed files with 34 additions and 17 deletions

View File

@@ -52,7 +52,7 @@
system = "aarch64-linux";
inherit specialArgs;
modules = [
(inputs.nixos-hardware + "/raspberry-pi/4")
#(inputs.nixos-hardware + "/raspberry-pi/4")
(nixpkgs + "/nixos/modules/installer/sd-card/sd-image-aarch64.nix")
./systems/kurin/configuration.nix
];

View File

@@ -1,4 +1,4 @@
{ inputs, ... }:
{ config, lib, inputs, pkgs, ... }:
{
imports = [
inputs.catppuccin.nixosModules.catppuccin
@@ -14,4 +14,9 @@
./user.nix
];
}
environment.enableAllTerminfo = true;
image.fileName = lib.mkDefault "${config.networking.hostName}-${pkgs.stdenv.hostPlatform.system}";
image.baseName = lib.mkDefault "${config.networking.hostName}-${pkgs.stdenv.hostPlatform.system}";
}

View File

@@ -3,7 +3,7 @@
format = """
[](red)\
$os\
$username\
$hostname\
[](bg:peach fg:red)\
$directory\
[](bg:yellow fg:peach)\
@@ -23,13 +23,19 @@ $python\
$conda\
[](fg:sapphire bg:lavender)\
$time\
[ ](fg:lavender)\
[ ](fg:lavender)\
$cmd_duration\
$line_break\
$character"""
palette = 'catppuccin_mocha'
[hostname]
ssh_symbol = " "
style = "bg:red fg:crust"
trim_at = ""
format = "[ $ssh_symbol $hostname ]($style)"
[os]
disabled = false
style = "bg:red fg:crust"

View File

@@ -3,8 +3,4 @@
./git.nix
./vscode.nix
];
programs = {
zellij.enable = true;
};
}
}

View File

@@ -7,9 +7,5 @@
go
just
nodejs
# Tooling
zellij
];
}
}

View File

@@ -6,7 +6,11 @@
./zerotier.nix
];
home-manager.sharedModules = [
./home
];
system.nixos.variantName = lib.mkDefault "Server";
system.nixos.variant_id = lib.mkDefault "server";
services.openssh.enable = true;
}
}

View File

@@ -0,0 +1,5 @@
{
programs = {
zellij.enable = true;
};
}

View File

@@ -2,5 +2,6 @@
{
environment.systemPackages = with pkgs; [
sops
zellij
];
}
}

View File

@@ -9,6 +9,8 @@
#./hardware-configuration.nix
];
#programs.nvf.enable = lib.mkForce false;
networking.hostName = "kurin";
# hardware.raspberry-pi."4" = {
@@ -20,6 +22,7 @@
sops = {
defaultSopsFile = ../../secrets/kurin.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/nix/keys.txt";
};
sops.secrets."users_dark_password".neededForUsers = true;
@@ -89,6 +92,7 @@
# memoryPercent = 40;
#};
sops.secrets."wireless_passwords".mode = "0440";
networking.wireless = {
enable = true;
networks = {