Compare commits

..

6 Commits

9 changed files with 49 additions and 11 deletions
+2
View File
@@ -0,0 +1,2 @@
result
*.qcow2
+1
View File
@@ -14,6 +14,7 @@
gtk = { gtk = {
enable = true; enable = true;
colorScheme = "dark";
iconTheme = { iconTheme = {
name = "Papirus"; name = "Papirus";
package = pkgs.papirus-icon-theme; package = pkgs.papirus-icon-theme;
+1 -2
View File
@@ -4,9 +4,8 @@
./configuration.nix ./configuration.nix
./hardware.nix ./hardware.nix
./networking.nix ./networking.nix
./services.nix
./virtualisation.nix
./services ./services
./virtualisation.nix
]; ];
networking.hostName = "bomba"; networking.hostName = "bomba";
-6
View File
@@ -1,6 +0,0 @@
{ ... }:
{
services = {
openssh.enable = true;
};
}
+3
View File
@@ -2,5 +2,8 @@
{ {
imports = [ imports = [
./gitea.nix ./gitea.nix
./octoprint.nix
]; ];
services.openssh.enable = true;
} }
+33
View File
@@ -0,0 +1,33 @@
{ ... }:
{
nixpkgs.overlays = [
(self: super: {
octoprint = super.octoprint.override {
packageOverrides = pyself: pysuper: {
octoprint-fanspeedslider = pyself.buildPythonPackage rec {
pname = "fanspeedslider";
version = "0.2.3";
src = self.fetchFromGitHub {
owner = "mival";
repo = "OctoPrint-FanSpeedSlider";
rev = "${version}";
sha256 = "sha256-0Gp9EgaKyCnRQv4A1sNHquTRqjag2Oz/fDGVVo95FfY=";
};
propagatedBuildInputs = [ pysuper.octoprint ];
pyproject = true;
doCheck = false;
};
};
};
})
];
services.octoprint = {
enable = true;
openFirewall = true;
port = 8002;
plugins =
plugins: with plugins; [
octoprint-fanspeedslider
];
};
}
+3 -1
View File
@@ -2,6 +2,7 @@
pkgs, pkgs,
currentSystemUser, currentSystemUser,
currentSystemDe, currentSystemDe,
config,
... ...
}: }:
{ {
@@ -51,13 +52,14 @@
users.users.${currentSystemUser} = { users.users.${currentSystemUser} = {
isNormalUser = true; isNormalUser = true;
description = "Patrick Canal"; description = "Patrick Canal";
shell = pkgs.fish;
hashedPasswordFile = config.sops.secrets.user_password.path;
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
"wheel" "wheel"
"docker" "docker"
"libvirtd" "libvirtd"
]; ];
shell = pkgs.fish;
}; };
nix.settings = { nix.settings = {
+3
View File
@@ -13,6 +13,9 @@
"wifi_password" = { "wifi_password" = {
owner = currentSystemUser; owner = currentSystemUser;
}; };
"user_password" = {
neededForUsers = true;
};
}; };
}; };
} }
+3 -2
View File
@@ -1,4 +1,5 @@
wifi_password: ENC[AES256_GCM,data:7plUlREKK8mNdWGhlTG5+3ICFqZq+hBp6aHz1mrLbOm9xZ5Uh2EF4RM4eXDXLw==,iv:nW8dyJHMuvKPJV9155DiAFynb+Q4hfxzyO8RYLKjgGg=,tag:c3hpltMYjtjah0ttnkQWiw==,type:str] wifi_password: ENC[AES256_GCM,data:7plUlREKK8mNdWGhlTG5+3ICFqZq+hBp6aHz1mrLbOm9xZ5Uh2EF4RM4eXDXLw==,iv:nW8dyJHMuvKPJV9155DiAFynb+Q4hfxzyO8RYLKjgGg=,tag:c3hpltMYjtjah0ttnkQWiw==,type:str]
user_password: ENC[AES256_GCM,data:oRb4aO3iby+cA5YU5cyCeyOeSzZqd58/WozcHrK00VSHG01OnUZqpWbBa6zIm43UqfoZUM7IScWQZcWPbVR6t4H/uErZbZi2dQ==,iv:UzoJS290MWP7E/A1todnmyiNV3C8f5lg5h1Tf81QSPA=,tag:rvGNdn2I2TxVX8xDpDe/Vw==,type:str]
sops: sops:
age: age:
- recipient: age18ujjw92tm6vpcpgqqky7dzg3yvzm9nytgzeptkfhtz5jhdskcdpsgmv0vs - recipient: age18ujjw92tm6vpcpgqqky7dzg3yvzm9nytgzeptkfhtz5jhdskcdpsgmv0vs
@@ -19,7 +20,7 @@ sops:
NDN3c1J1dVcvY21uOUYrVFZMVXZXUTQK8GFPONewI3mzyG9Eh8PSjGVETsslyHiy NDN3c1J1dVcvY21uOUYrVFZMVXZXUTQK8GFPONewI3mzyG9Eh8PSjGVETsslyHiy
ud/QT1fJFbjZzbKHu2RsFNYukLuoEodQ5t9ccGfWCpSfgddNXjGtHg== ud/QT1fJFbjZzbKHu2RsFNYukLuoEodQ5t9ccGfWCpSfgddNXjGtHg==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----
lastmodified: "2026-03-05T20:36:33Z" lastmodified: "2026-03-07T16:01:24Z"
mac: ENC[AES256_GCM,data:L1sYA4CxLJjHOEJpho0q8k4uNa6XazYBjzWsMmITYxZVlTcdxKdIrMC3v6Fpcwdh+cHGnwEGufZAIBmRUjkCmxRhbuTA5T660oZb3bCmYE/i8u3IIh7C9jNAv95n16F/2CL5BVNzQj4lNQj8UzuUrSd/mH2BRO01I29SWNwb6mQ=,iv:RZJsTPhXYv82k9661R80NOUAqGzFqv4YnVaK13vhAJ0=,tag:huf6cjSx46H4DnsWS8c7AQ==,type:str] mac: ENC[AES256_GCM,data:Ni5qtsBcjKj9R2g78rdzd7+4tBL20SsU6aD5YZII/jaxjFxwFeVzfXuJruLnq3bEUiZShzOBVCc7gUi/6DaaluhXfltwwywu0QjJkPxfpGtQ7gmmiSDQAItwmj+9bJ/BFjx6ViBI/Vi1hnSRsS/gr1K0QkAzCT0JRehWi2HwnE4=,iv:rHWCfNa2hR6kB7lGB/VhPlB7MexgSFyWl5xyteQC3sk=,tag:6vBjVUIJLKDkJ7hjbkQXKw==,type:str]
unencrypted_suffix: _unencrypted unencrypted_suffix: _unencrypted
version: 3.12.1 version: 3.12.1