Compare commits

..

38 Commits

Author SHA1 Message Date
ef8d666b26 feat(elcafe): add new server configuration 2025-11-02 02:47:28 +01:00
2958cc4c7a fix: change invalid types.string to types.str 2025-11-02 02:47:28 +01:00
d48193d65c feat: more AI-related tools 2025-11-02 02:47:28 +01:00
5a5730a840 feat(qemu): improve QEMU configuration 2025-11-01 23:35:52 +01:00
660239293e chore: update flakes to latest version 2025-11-01 23:35:52 +01:00
6a050e055a style: formatting fixes 2025-11-01 12:09:56 +01:00
0d97edd9d9 feat(jujutsu): compatibility with jj-vc.el in Emacs 2025-11-01 12:09:26 +01:00
f6ecefbd91 feat(AMDGPU): better config for my AMD GPU and using AI with it 2025-11-01 12:08:54 +01:00
02178cce00 feat(hyprland): add commented out screen resolutions for Moonlight
Add a screen resolution for when logging in remotely from Moonlight,
namely from my Thinkpad x220 and my FydeTab Duo.
2025-11-01 12:07:26 +01:00
f4e805677e fix(docker): better configuration handling, add back podman-compose 2025-11-01 12:06:20 +01:00
e8200048fa feat(user/packages): remove broken Gimp packages, add Gmic 2025-11-01 12:05:26 +01:00
7b56ec9f1e feat(languagetool): add languagetool service to marpa 2025-11-01 12:04:50 +01:00
df782e7507 chore: upgrade flake lockfile 2025-10-14 13:25:18 +02:00
c16f90e8bd feat(hyprland): replace wpaperd with hyprpaper 2025-10-14 13:25:18 +02:00
b4694c2798 feat(tailscale): make tailscale togglable, defaults to enabled 2025-10-14 13:25:18 +02:00
ff5927e304 feat(packages): remove Modrintth and KiCad
They take a long time compiling on my laptop, so I’ll install them
through flatpak instead.
2025-09-26 15:23:53 +02:00
2e8145f0f1 feat(waydroid): add waydroid configuration 2025-09-26 15:21:45 +02:00
d38ed9651b feat(qemu): add qemu configuration 2025-09-26 15:21:06 +02:00
7899f32aba refactor(docker podman): better docker and podman configuration 2025-09-26 15:18:51 +02:00
f810e561fa chore: update flakes 2025-09-26 15:16:30 +02:00
0b01ed04f5 style(home/tilo): better format file 2025-09-03 11:46:28 +02:00
4e97947206 feat(jujutsu): better jujutsu configuration 2025-09-03 11:46:06 +02:00
b7b18f664e feat(sunshine): customise apps available in Sunshine 2025-09-03 11:45:32 +02:00
b277018b88 feat(networking): enable tailscale 2025-09-01 15:00:28 +02:00
84ab691a7f chore: update flakes 2025-08-24 01:37:45 +02:00
71623b5964 feat(sound): add noisetorch when sound is enabled 2025-08-07 11:41:42 +02:00
ee0bc337e6 fix(marpa): fix location of dotfiles 2025-08-07 11:41:42 +02:00
4bf86c7b37 feat(secrets): update private SSH config 2025-08-07 11:17:18 +02:00
4b6d42d275 feat(packages): remove Modrinth
Tired of compiling it every time I update my laptop, I’ll install it
with Flatpak instead.
2025-08-07 11:12:20 +02:00
a67a4f5826 fix(gampo): correctly set dotfiles location 2025-08-07 11:07:58 +02:00
5659cceab5 feat(tilo): add jellyfin configuration 2025-08-05 01:02:05 +02:00
2921f3f435 feat(tilo): add calibre configuration 2025-08-05 00:09:15 +02:00
319d292fa0 feat(tilo): add Plex configuration for Tilo 2025-08-04 22:48:43 +02:00
1eb4476006 fix: correct values for host Tilo 2025-08-04 22:46:25 +02:00
338246498d docs: update README to reflect refactor 2025-07-31 01:02:10 +02:00
f396b3a8fb chore: refactor user modules 2025-07-31 00:58:33 +02:00
15a39660eb chore: refactor system modules 2025-07-31 00:58:33 +02:00
d64caa86ec feat(jujutsu): update my config with new aliases 2025-07-31 00:58:29 +02:00

169
#flake.nix# Normal file
View File

@@ -0,0 +1,169 @@
{
description = "Home Manager configuration of phundrak";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
devenv = {
url = "github:cachix/devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
pumo-system-info = {
url = "git+https://labs.phundrak.com/phundrak/pumo-system-info";
inputs.nixpkgs.follows = "nixpkgs";
};
quickshell = {
url = "git+https://git.outfoxxed.me/quickshell/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
claude-desktop = {
url = "github:k3d3/claude-desktop-linux-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:youwen5/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
nixConfig = {
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
extra-substituters = "https://devenv.cachix.org";
};
outputs = {
self,
nixpkgs,
home-manager,
devenv,
...
} @ inputs: let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
formatter.${system} = pkgs.alejandra;
packages.${system} = {
devenv-up = self.devShells.${system}.default.config.procfileScript;
devenv-test = self.devShells.${system}.default.config.test;
};
devShells.${system}.default = devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
(
{pkgs, ...}: {
packages = [pkgs.nh];
git-hooks.hooks = {
alejandra.enable = true;
commitizen.enable = true;
detect-private-keys.enable = true;
end-of-file-fixer.enable = true;
deadnix.enable = true;
ripsecrets.enable = true;
statix.enable = true;
};
}
)
];
};
homeConfigurations = let
extraSpecialArgs = {inherit inputs outputs system;};
in {
"phundrak@alys" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {
inherit inputs outputs;
};
modules = [
./users/phundrak/host/alys.nix
inputs.sops-nix.homeManagerModules.sops
];
};
"phundrak@marpa" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
# extraSpecialArgs = {
# inherit inputs outputs;
# };
inherit extraSpecialArgs;
modules = [
./users/phundrak/host/marpa.nix
inputs.sops-nix.homeManagerModules.sops
];
};
"phundrak@gampo" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {
inherit inputs outputs;
};
modules = [
./users/phundrak/host/gampo.nix
inputs.sops-nix.homeManagerModules.sops
];
};
"phundrak@tilo" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {
inherit inputs outputs;
};
modules = [
./users/phundrak/host/tilo.nix
inputs.sops-nix.homeManagerModules.sops
];
};
};
nixosConfigurations = let
specialArgs = {inherit inputs outputs;};
in {
alys = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
./hosts/alys/configuration.nix
inputs.sops-nix.nixosModules.sops
];
};
gampo = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
./hosts/gampo/configuration.nix
inputs.sops-nix.nixosModules.sops
];
};
marpa = nixpkgs.lib.nixosSystem {
inherit specialArgs; modules = [
./hosts/marpa/configuration.nix
inputs.sops-nix.nixosModules.sops
];
};
tilo = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
./hosts/tilo/configuration.nix
inputs.sops-nix.nixosModules.sops
];
};
};
};
}