Compare commits
7 Commits
fada73a69c
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| eff446334d | |||
| 97c84ff716 | |||
| f0860c2602 | |||
| 54d4d5aadf | |||
| 3b386828af | |||
| 300b407208 | |||
| 711b1f198e |
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -1,6 +0,0 @@
|
||||
[submodule "machines/homebox"]
|
||||
path = machines/homebox
|
||||
url = ssh://gitea@gitea.esotericbytes.com:2222/Blunkall-Technologies/homebox
|
||||
[submodule "machines/laptop"]
|
||||
path = machines/laptop
|
||||
url = ssh://gitea@gitea.esotericbytes.com:2222/Blunkall-Technologies/laptop
|
||||
8
flake.lock
generated
8
flake.lock
generated
@@ -47,11 +47,11 @@
|
||||
"rev": "b2ec3d9cd0a6e52c4922b26d8b8e25823afd89d1",
|
||||
"revCount": 52,
|
||||
"type": "git",
|
||||
"url": "file:///home/nathan/Projects/Aurora"
|
||||
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "file:///home/nathan/Projects/Aurora"
|
||||
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora"
|
||||
}
|
||||
},
|
||||
"disko": {
|
||||
@@ -770,11 +770,11 @@
|
||||
"rev": "a62d8ce7f86424a297adead378be5f5a441add3c",
|
||||
"revCount": 39,
|
||||
"type": "git",
|
||||
"url": "file:///home/nathan/Projects/Moirai"
|
||||
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "file:///home/nathan/Projects/Moirai"
|
||||
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai"
|
||||
}
|
||||
},
|
||||
"nixvim_2": {
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
|
||||
#nixvim.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai";
|
||||
nixvim.url = "git+file:///home/nathan/Projects/Moirai";
|
||||
nixvim.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai";
|
||||
#nixvim.url = "git+file:///home/nathan/Projects/Moirai";
|
||||
|
||||
#aurora.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora";
|
||||
aurora.url = "git+file:///home/nathan/Projects/Aurora";
|
||||
aurora.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora";
|
||||
#aurora.url = "git+file:///home/nathan/Projects/Aurora";
|
||||
};
|
||||
|
||||
outputs = { ... } @ inputs:
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
settings = {
|
||||
|
||||
general = {
|
||||
lock_cmd = "aurora ipc call lockscreen lock"; # avoid starting multiple hyprlock instances.
|
||||
lock_cmd = "aurora ipc call lockscreen lock";
|
||||
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
|
||||
after_sleep_cmd = "hyprctl --instance 0 dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
||||
};
|
||||
|
||||
Submodule machines/homebox deleted from e3e98541fa
Submodule machines/laptop deleted from ae51730c19
@@ -126,7 +126,6 @@
|
||||
minimal = false;
|
||||
hyprland.enable = false;
|
||||
wal.enable = false;
|
||||
hyprlock.enable = false;
|
||||
mpd.enable = true;
|
||||
calcurse.enable = true;
|
||||
rofi.enable = true;
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
flake.nixosConfigurations."homebox" = inputs.nixpkgs.lib.nixosSystem {
|
||||
|
||||
modules = [
|
||||
self.nixosModules.homebox
|
||||
self.nixosModules.default
|
||||
self.nixosModules.homebox
|
||||
self.diskoConfigurations.homebox
|
||||
];
|
||||
};
|
||||
|
||||
@@ -12,11 +13,6 @@
|
||||
|
||||
{
|
||||
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
|
||||
(import ./disko.nix { device1 = "/dev/nvme0n1"; device2 = "/dev/nvme1n1"; device3 = "/dev/sda"; })
|
||||
];
|
||||
|
||||
config = {
|
||||
|
||||
services = {
|
||||
@@ -62,6 +58,10 @@
|
||||
"nathan/pass" = {
|
||||
neededForUsers = true;
|
||||
};
|
||||
|
||||
"remoteBuildClientKeys/laptop".sopsFile = ./../../system/secrets.yaml;
|
||||
"remoteBuildClientKeys/pi4".sopsFile = ./../../system/secrets.yaml;
|
||||
"remoteBuildClientKeys/android".sopsFile = ./../../system/secrets.yaml;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
{ ... }: {
|
||||
|
||||
flake.diskoConfigurations.homebox = {
|
||||
device1 ? throw "Set this to your disk device, e.g. /dev/sda",
|
||||
device2,
|
||||
device3,
|
||||
...
|
||||
}: {
|
||||
disko.devices = {
|
||||
disk = {
|
||||
main = {
|
||||
device = device1;
|
||||
device = "/dev/nvme0n1";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
@@ -48,7 +43,7 @@
|
||||
};
|
||||
};
|
||||
ssd1 = {
|
||||
device = device2;
|
||||
device = "/dev/nvme1n1";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
@@ -65,7 +60,7 @@
|
||||
};
|
||||
};
|
||||
hdd1 = {
|
||||
device = device3;
|
||||
device = "/dev/sda";
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "gpt";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ inputs, ... }: {
|
||||
{ self, inputs, ... }: {
|
||||
|
||||
flake.nixosModules.iso = { lib, pkgs, modulesPath, ... }: {
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
|
||||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
||||
|
||||
home-manager.nixosModules.default
|
||||
self.nixosModules.default
|
||||
self.nixosModules.aurora-greeter
|
||||
|
||||
home-manager.nixosModules.default
|
||||
|
||||
];
|
||||
|
||||
@@ -17,7 +20,7 @@
|
||||
fonts.packages = with pkgs; [ nerd-fonts.fira-code ];
|
||||
environment.systemPackages = with pkgs; [ nerd-fonts.fira-code ];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
system.stateVersion = "25.11";
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
@@ -31,8 +34,6 @@
|
||||
|
||||
users.users.nixos.enable = lib.mkForce false;
|
||||
|
||||
services.getty.autologinUser = lib.mkForce null;
|
||||
|
||||
networking = {
|
||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||
networkmanager.enable = true;
|
||||
@@ -60,7 +61,6 @@
|
||||
homeconfig = {
|
||||
minimal = false;
|
||||
hyprland.enable = true;
|
||||
hyprlock.enable = true;
|
||||
wal.enable = true;
|
||||
mpd.enable = true;
|
||||
rofi.enable = true;
|
||||
@@ -77,7 +77,6 @@
|
||||
};
|
||||
|
||||
services = {
|
||||
sddm.enable = true;
|
||||
openssh.enable = true;
|
||||
pipewire.enable = true;
|
||||
#kdePlasma6.enable = true;
|
||||
|
||||
@@ -72,7 +72,6 @@
|
||||
homeconfig = {
|
||||
minimal = false;
|
||||
hyprland.enable = true;
|
||||
hyprlock.enable = true;
|
||||
wal.enable = true;
|
||||
mpd.enable = true;
|
||||
calcurse.enable = true;
|
||||
|
||||
@@ -60,18 +60,6 @@
|
||||
createHome = false;
|
||||
};
|
||||
|
||||
sops.secrets = let
|
||||
dir = builtins.readDir ../machines;
|
||||
in lib.mkIf config.sysconfig.remoteBuildHost (builtins.listToAttrs
|
||||
(builtins.map
|
||||
(y: { name = "remoteBuildClientKeys/${y}"; value = { sopsFile = ./secrets.yaml; }; })
|
||||
(builtins.filter
|
||||
(x: dir.${x} == "directory" && (import ../machines/${x} { config = {}; inputs = {}; inherit lib pkgs; }).config.sysconfig.remoteBuildClient)
|
||||
(builtins.attrNames dir)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
sops.templates."remote-builder" = lib.mkIf config.sysconfig.remoteBuildHost {
|
||||
content = builtins.concatStringsSep ''''\n'' (builtins.map
|
||||
(y: config.sops.placeholder.${y})
|
||||
|
||||
@@ -21,10 +21,10 @@
|
||||
ui = {
|
||||
enable = true;
|
||||
#package = pkgs-us.netbird-ui;
|
||||
package = pkgs.netbird-ui;
|
||||
#package = pkgs.netbird-ui;
|
||||
};
|
||||
#package = pkgs-us.netbird;
|
||||
package = pkgs.netbird;
|
||||
package = pkgs-us.netbird;
|
||||
#package = pkgs.netbird;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -121,6 +121,7 @@
|
||||
"--network-alias=server"
|
||||
"--network-alias=authentik-server"
|
||||
"--network-alias=${name}"
|
||||
"--ip=192.168.101.6"
|
||||
];
|
||||
networks = [
|
||||
"docker-main"
|
||||
|
||||
@@ -51,7 +51,6 @@
|
||||
homeconfig = {
|
||||
minimal = false;
|
||||
hyprland.enable = true;
|
||||
hyprlock.enable = true;
|
||||
wal.enable = true;
|
||||
mpd.enable = true;
|
||||
hyprpanel.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user