Compare commits
2 commits
fa7784cced
...
5f68e5745a
Author | SHA1 | Date | |
---|---|---|---|
5f68e5745a | |||
2726ebc8ac |
2 changed files with 3 additions and 12 deletions
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue