Compare commits

...

2 commits

Author SHA1 Message Date
5f68e5745a
raspite: add comin 2025-03-15 21:02:22 +08:00
2726ebc8ac
home/waybar: fix IFD 2025-03-11 00:05:16 +08:00
2 changed files with 3 additions and 12 deletions

View file

@ -11,15 +11,9 @@
commonSettings = { commonSettings = {
nix.enable = true; nix.enable = true;
auth.enable = true; auth.enable = true;
comin.enable = true;
}; };
nixpkgs.overlays = [
# Workaround https://github.com/NixOS/nixpkgs/issues/126755#issuecomment-869149243
(final: super: {
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
})
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
libraspberrypi libraspberrypi
@ -34,14 +28,11 @@
interfaces.eth0.useDHCP = true; interfaces.eth0.useDHCP = true;
}; };
# boot.kernelPackages = pkgs.linuxPackages_stable; time.timeZone = "Asia/Shanghai";
# fileSystems."/".fsType = lib.mkForce "btrfs"; # fileSystems."/".fsType = lib.mkForce "btrfs";
boot.supportedFilesystems.zfs = lib.mkForce false; boot.supportedFilesystems.zfs = lib.mkForce false;
services.dae.enable = true;
services.dae.configFile = "/var/lib/dae/config.dae";
services.tailscale = { services.tailscale = {
enable = true; enable = true;
permitCertUid = config.services.caddy.user; permitCertUid = config.services.caddy.user;

View file

@ -16,7 +16,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
style = readFile ./waybar.css; style = ./waybar.css;
settings = { settings = {
main = { main = {
margin = "2px 3px 2 3px"; margin = "2px 3px 2 3px";