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",
|
"rev": "b2ec3d9cd0a6e52c4922b26d8b8e25823afd89d1",
|
||||||
"revCount": 52,
|
"revCount": 52,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/nathan/Projects/Aurora"
|
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/nathan/Projects/Aurora"
|
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"disko": {
|
"disko": {
|
||||||
@@ -770,11 +770,11 @@
|
|||||||
"rev": "a62d8ce7f86424a297adead378be5f5a441add3c",
|
"rev": "a62d8ce7f86424a297adead378be5f5a441add3c",
|
||||||
"revCount": 39,
|
"revCount": 39,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/nathan/Projects/Moirai"
|
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:///home/nathan/Projects/Moirai"
|
"url": "https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixvim_2": {
|
"nixvim_2": {
|
||||||
|
|||||||
@@ -32,11 +32,11 @@
|
|||||||
|
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
|
|
||||||
#nixvim.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai";
|
nixvim.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Moirai";
|
||||||
nixvim.url = "git+file:///home/nathan/Projects/Moirai";
|
#nixvim.url = "git+file:///home/nathan/Projects/Moirai";
|
||||||
|
|
||||||
#aurora.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora";
|
aurora.url = "git+https://gitea.esotericbytes.com/Blunkall-Technologies/Aurora";
|
||||||
aurora.url = "git+file:///home/nathan/Projects/Aurora";
|
#aurora.url = "git+file:///home/nathan/Projects/Aurora";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { ... } @ inputs:
|
outputs = { ... } @ inputs:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
general = {
|
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.
|
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.
|
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;
|
minimal = false;
|
||||||
hyprland.enable = false;
|
hyprland.enable = false;
|
||||||
wal.enable = false;
|
wal.enable = false;
|
||||||
hyprlock.enable = false;
|
|
||||||
mpd.enable = true;
|
mpd.enable = true;
|
||||||
calcurse.enable = true;
|
calcurse.enable = true;
|
||||||
rofi.enable = true;
|
rofi.enable = true;
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
flake.nixosConfigurations."homebox" = inputs.nixpkgs.lib.nixosSystem {
|
flake.nixosConfigurations."homebox" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
self.nixosModules.homebox
|
|
||||||
self.nixosModules.default
|
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 = {
|
config = {
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
@@ -62,6 +58,10 @@
|
|||||||
"nathan/pass" = {
|
"nathan/pass" = {
|
||||||
neededForUsers = true;
|
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 = {
|
flake.diskoConfigurations.homebox = {
|
||||||
device1 ? throw "Set this to your disk device, e.g. /dev/sda",
|
|
||||||
device2,
|
|
||||||
device3,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
main = {
|
main = {
|
||||||
device = device1;
|
device = "/dev/nvme0n1";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
@@ -48,7 +43,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
ssd1 = {
|
ssd1 = {
|
||||||
device = device2;
|
device = "/dev/nvme1n1";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
@@ -65,7 +60,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
hdd1 = {
|
hdd1 = {
|
||||||
device = device3;
|
device = "/dev/sda";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, ... }: {
|
{ self, inputs, ... }: {
|
||||||
|
|
||||||
flake.nixosModules.iso = { lib, pkgs, modulesPath, ... }: {
|
flake.nixosModules.iso = { lib, pkgs, modulesPath, ... }: {
|
||||||
|
|
||||||
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
||||||
|
|
||||||
|
self.nixosModules.default
|
||||||
|
self.nixosModules.aurora-greeter
|
||||||
|
|
||||||
home-manager.nixosModules.default
|
home-manager.nixosModules.default
|
||||||
|
|
||||||
];
|
];
|
||||||
@@ -17,7 +20,7 @@
|
|||||||
fonts.packages = with pkgs; [ nerd-fonts.fira-code ];
|
fonts.packages = with pkgs; [ nerd-fonts.fira-code ];
|
||||||
environment.systemPackages = 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";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
|
|
||||||
@@ -31,8 +34,6 @@
|
|||||||
|
|
||||||
users.users.nixos.enable = lib.mkForce false;
|
users.users.nixos.enable = lib.mkForce false;
|
||||||
|
|
||||||
services.getty.autologinUser = lib.mkForce null;
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
@@ -60,7 +61,6 @@
|
|||||||
homeconfig = {
|
homeconfig = {
|
||||||
minimal = false;
|
minimal = false;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
hyprlock.enable = true;
|
|
||||||
wal.enable = true;
|
wal.enable = true;
|
||||||
mpd.enable = true;
|
mpd.enable = true;
|
||||||
rofi.enable = true;
|
rofi.enable = true;
|
||||||
@@ -77,7 +77,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
sddm.enable = true;
|
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
#kdePlasma6.enable = true;
|
#kdePlasma6.enable = true;
|
||||||
|
|||||||
@@ -72,7 +72,6 @@
|
|||||||
homeconfig = {
|
homeconfig = {
|
||||||
minimal = false;
|
minimal = false;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
hyprlock.enable = true;
|
|
||||||
wal.enable = true;
|
wal.enable = true;
|
||||||
mpd.enable = true;
|
mpd.enable = true;
|
||||||
calcurse.enable = true;
|
calcurse.enable = true;
|
||||||
|
|||||||
@@ -60,18 +60,6 @@
|
|||||||
createHome = false;
|
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 {
|
sops.templates."remote-builder" = lib.mkIf config.sysconfig.remoteBuildHost {
|
||||||
content = builtins.concatStringsSep ''''\n'' (builtins.map
|
content = builtins.concatStringsSep ''''\n'' (builtins.map
|
||||||
(y: config.sops.placeholder.${y})
|
(y: config.sops.placeholder.${y})
|
||||||
|
|||||||
@@ -21,10 +21,10 @@
|
|||||||
ui = {
|
ui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = pkgs-us.netbird-ui;
|
#package = pkgs-us.netbird-ui;
|
||||||
package = pkgs.netbird-ui;
|
#package = pkgs.netbird-ui;
|
||||||
};
|
};
|
||||||
#package = pkgs-us.netbird;
|
package = pkgs-us.netbird;
|
||||||
package = pkgs.netbird;
|
#package = pkgs.netbird;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -121,6 +121,7 @@
|
|||||||
"--network-alias=server"
|
"--network-alias=server"
|
||||||
"--network-alias=authentik-server"
|
"--network-alias=authentik-server"
|
||||||
"--network-alias=${name}"
|
"--network-alias=${name}"
|
||||||
|
"--ip=192.168.101.6"
|
||||||
];
|
];
|
||||||
networks = [
|
networks = [
|
||||||
"docker-main"
|
"docker-main"
|
||||||
|
|||||||
@@ -51,7 +51,6 @@
|
|||||||
homeconfig = {
|
homeconfig = {
|
||||||
minimal = false;
|
minimal = false;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
hyprlock.enable = true;
|
|
||||||
wal.enable = true;
|
wal.enable = true;
|
||||||
mpd.enable = true;
|
mpd.enable = true;
|
||||||
hyprpanel.enable = true;
|
hyprpanel.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user