Compare commits

..

No commits in common. "a630607350ad1d23f19bd1f35a9e65ca37a32d42" and "83e8c3d8f83d45965178a2f2e51b2df5979d3ba3" have entirely different histories.

8 changed files with 120 additions and 95 deletions

View file

@ -14,7 +14,7 @@ in
pulse.enable = true; pulse.enable = true;
jack.enable = true; jack.enable = true;
}; };
services.pulseaudio.enable = false; # this theoretically defaults to false but something else seems to be flipping it hardware.pulseaudio.enable = false; # this theoretically defaults to false but something else seems to be flipping it
environment.systemPackages = with pkgs; [ helvum ]; # patchbay environment.systemPackages = with pkgs; [ helvum ]; # patchbay
}; };
} }

46
flake.lock generated
View file

@ -1,5 +1,26 @@
{ {
"nodes": { "nodes": {
"actual": {
"inputs": {
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1738814288,
"narHash": "sha256-4WqR/ligsEvxcFOjui1dwquR8U327uGoBjdI5p0ey4A=",
"ref": "main",
"rev": "f64adb78f15981d60af97e7aa691d2ebdf48ceaa",
"revCount": 21,
"type": "git",
"url": "https://git.xeno.science/xenofem/actual-nix"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://git.xeno.science/xenofem/actual-nix"
}
},
"agenix": { "agenix": {
"inputs": { "inputs": {
"darwin": [], "darwin": [],
@ -159,16 +180,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748226808, "lastModified": 1747688870,
"narHash": "sha256-GaBRgxjWO1bAQa8P2+FDxG4ANBVhjnSjBms096qQdxo=", "narHash": "sha256-ypL9WAZfmJr5V70jEVzqGjjQzF0uCkz+AFQF7n9NmNc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "83665c39fa688bd6a1f7c43cf7997a70f6a109f9", "rev": "d5f1f641b289553927b3801580598d200a501863",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.05", "ref": "release-24.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -230,16 +251,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1748162331, "lastModified": 1748037224,
"narHash": "sha256-rqc2RKYTxP3tbjA+PB3VMRQNnjesrT0pEofXQTrMsS8=", "narHash": "sha256-92vihpZr6dwEMV6g98M5kHZIttrWahb9iRPBm1atcPk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334", "rev": "f09dede81861f3a83f7f06641ead34f02f37597f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -261,16 +282,16 @@
}, },
"nixpkgs-small": { "nixpkgs-small": {
"locked": { "locked": {
"lastModified": 1748387883, "lastModified": 1748331950,
"narHash": "sha256-X5P7guNZfXJrMH/zv3rHenjML5R0JXFD4EsulXDbl5U=", "narHash": "sha256-uMZpO4xycuXkwRTvjX9NyqVcIczOUYTnoct5xVUmbQQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d90ebe5aafcdd79dc9d4210aacf1ff21d4ca31c3", "rev": "8c092804de127b5617972052ea46d499fb2fd424",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05-small", "ref": "nixos-24.11-small",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -348,6 +369,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"actual": "actual",
"agenix": "agenix", "agenix": "agenix",
"birdsong": "birdsong", "birdsong": "birdsong",
"colmena": "colmena", "colmena": "colmena",

View file

@ -1,7 +1,7 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-25.05-small"; nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-24.11-small";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-unstable-small.url = "github:NixOS/nixpkgs/nixos-unstable-small"; nixpkgs-unstable-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
@ -12,7 +12,7 @@
}; };
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.05"; url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -54,6 +54,13 @@
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
# Third-party flake providing package and NixOS module for Actual Budget as
# nixpkgs are having trouble: https://github.com/NixOS/nixpkgs/issues/269069
actual = {
url = "git+https://git.xeno.science/xenofem/actual-nix?ref=main";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
birdsong.url = "git+https://git.qenya.tel/qenya/birdsong?ref=main"; birdsong.url = "git+https://git.qenya.tel/qenya/birdsong?ref=main";
scoutshonour = { scoutshonour = {
@ -150,6 +157,7 @@
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default inputs.agenix.nixosModules.default
inputs.birdsong.nixosModules.default inputs.birdsong.nixosModules.default
inputs.actual.nixosModules.default
./common ./common
./services ./services
(builtins.toPath "${inputs.randomcat}/services/default.nix") (builtins.toPath "${inputs.randomcat}/services/default.nix")

View file

@ -10,7 +10,7 @@ in
languagePacks = [ "en-GB" ]; languagePacks = [ "en-GB" ];
profiles.default = { profiles.default = {
extensions.packages = with inputs.firefox-addons.packages.${pkgs.hostPlatform.system}; [ extensions = with inputs.firefox-addons.packages.${pkgs.hostPlatform.system}; [
bitwarden bitwarden
ublock-origin ublock-origin
]; ];

View file

@ -7,11 +7,9 @@ in
{ {
programs.vscode = mkIf isGraphical { programs.vscode = mkIf isGraphical {
enable = true; enable = true;
package = pkgs.vscodium;
mutableExtensionsDir = false;
profiles.default = {
enableExtensionUpdateCheck = false; enableExtensionUpdateCheck = false;
enableUpdateCheck = false; enableUpdateCheck = false;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
charliermarsh.ruff charliermarsh.ruff
dbaeumer.vscode-eslint dbaeumer.vscode-eslint
@ -26,6 +24,7 @@ in
rust-lang.rust-analyzer rust-lang.rust-analyzer
vadimcn.vscode-lldb vadimcn.vscode-lldb
]; ];
mutableExtensionsDir = false;
userSettings = { userSettings = {
"css.format.spaceAroundSelectorSeparator" = true; "css.format.spaceAroundSelectorSeparator" = true;
"css.format.newlineBetweenSelectors" = false; "css.format.newlineBetweenSelectors" = false;
@ -79,9 +78,8 @@ in
"python.createEnvironment.contentButton" = "show"; "python.createEnvironment.contentButton" = "show";
"python.defaultInterpreterPath" = "${pkgs.python3}/bin/python"; "python.defaultInterpreterPath" = "${pkgs.python3}/bin/python";
"ruff.nativeServer" = "on"; "ruff.nativeServer" = "on";
"ruff.path" = [ "${pkgs.ruff}/bin/ruff" ]; "ruff.path" = "${pkgs.ruff}/bin/ruff";
"mypy.dmypyExecutable" = "${pkgs.mypy}/bin/dmypy"; "mypy.dmypyExecutable" = "${pkgs.mypy}/bin/dmypy";
}; };
}; };
};
} }

View file

@ -31,7 +31,7 @@
theme = ""; # defer to powerlevel10k theme = ""; # defer to powerlevel10k
}; };
initContent = '' initExtra = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
source ${./.p10k.zsh} source ${./.p10k.zsh}
''; '';

View file

@ -24,7 +24,7 @@
randomcat.services.zfs.datasets = { randomcat.services.zfs.datasets = {
"rpool_orm/state" = { mountpoint = "none"; }; "rpool_orm/state" = { mountpoint = "none"; };
"rpool_orm/state/actual" = { mountpoint = "/var/lib/private/actual"; }; "rpool_orm/state/actual" = { mountpoint = "/var/lib/actual"; };
"rpool_orm/state/postgresql" = { mountpoint = "/var/lib/postgresql"; }; "rpool_orm/state/postgresql" = { mountpoint = "/var/lib/postgresql"; };
}; };

View file

@ -26,9 +26,6 @@ in
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.actual = { services.actual.enable = true;
enable = true;
settings.port = 5006;
};
}; };
} }