2024-10-30 13:51:36 +10:00
|
|
|
{
|
|
|
|
|
description = "Emile's Nix Dotfiles";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
2024-11-10 23:10:51 +10:00
|
|
|
#nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
2024-10-30 13:51:36 +10:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2024-11-07 17:37:15 +10:00
|
|
|
|
2024-10-30 13:51:36 +10:00
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-07 17:37:15 +10:00
|
|
|
spicetify-nix = {
|
2024-10-30 23:25:57 +10:00
|
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2024-11-04 11:59:14 +10:00
|
|
|
|
2024-11-10 23:10:51 +10:00
|
|
|
nixcord.url = "github:kaylorben/nixcord";
|
2024-11-07 17:37:15 +10:00
|
|
|
|
2024-11-10 23:10:51 +10:00
|
|
|
grub2-themes.url = "github:vinceliuice/grub2-themes";
|
2024-10-30 23:25:57 +10:00
|
|
|
|
2024-11-07 17:37:15 +10:00
|
|
|
# is this necessary? (aren't I enabling it in `configuration.nix` anyways?)
|
2024-10-30 13:51:36 +10:00
|
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
2024-11-04 11:59:14 +10:00
|
|
|
|
2024-11-07 17:37:15 +10:00
|
|
|
swww.url = "github:LGFae/swww";
|
2024-11-10 23:10:51 +10:00
|
|
|
|
|
|
|
|
# TODO: declarative flatpak management
|
|
|
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
|
|
|
|
|
|
|
|
|
|
ags.url = "github:Aylur/ags";
|
2024-11-11 12:29:10 +10:00
|
|
|
|
|
|
|
|
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
2024-10-30 13:51:36 +10:00
|
|
|
};
|
|
|
|
|
|
2024-11-08 01:00:21 +10:00
|
|
|
outputs = {
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
|
|
|
|
home-manager,
|
|
|
|
|
hyprland,
|
|
|
|
|
grub2-themes,
|
|
|
|
|
nixcord,
|
|
|
|
|
...
|
|
|
|
|
} @ inputs: let
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
|
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
|
inherit system;
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
2024-10-30 13:51:36 +10:00
|
|
|
|
2024-11-08 01:00:21 +10:00
|
|
|
# this is just something I'm experimenting with
|
|
|
|
|
PROJECT_ROOT = builtins.toString ./.;
|
|
|
|
|
in {
|
2025-02-12 14:33:38 +10:00
|
|
|
# shell for `nix develop`
|
|
|
|
|
devShells."x86_64-linux".default = pkgs.mkShell {
|
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
|
colmena
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-08 01:00:21 +10:00
|
|
|
nixosConfigurations = {
|
|
|
|
|
# i be on my puter fr
|
|
|
|
|
myputer = nixpkgs.lib.nixosSystem {
|
2025-02-11 15:47:56 +10:00
|
|
|
# nix passes these to every single module
|
2024-11-08 01:00:21 +10:00
|
|
|
specialArgs = {inherit inputs pkgs;};
|
|
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
|
./hosts/myputer
|
|
|
|
|
grub2-themes.nixosModules.default
|
|
|
|
|
];
|
2024-10-30 13:51:36 +10:00
|
|
|
};
|
|
|
|
|
|
2024-11-08 01:00:21 +10:00
|
|
|
# my laptop 0w0
|
|
|
|
|
lolcathost = nixpkgs.lib.nixosSystem {
|
|
|
|
|
specialArgs = {inherit inputs pkgs;};
|
|
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
|
./hosts/lolcathost
|
2024-11-10 23:10:51 +10:00
|
|
|
grub2-themes.nixosModules.default
|
2024-11-08 01:00:21 +10:00
|
|
|
];
|
2024-10-30 13:51:36 +10:00
|
|
|
};
|
2025-02-11 15:47:56 +10:00
|
|
|
|
2025-02-12 14:33:38 +10:00
|
|
|
# meine vps
|
|
|
|
|
#imbored = nixpkgs.lib.nixosSystem {
|
|
|
|
|
# specialargs = {inherit inputs pkgs;};
|
|
|
|
|
#
|
|
|
|
|
# modules = [
|
|
|
|
|
# ./hosts/imbored
|
|
|
|
|
# ];
|
|
|
|
|
#};
|
|
|
|
|
};
|
2025-02-11 15:47:56 +10:00
|
|
|
|
2025-02-12 14:33:38 +10:00
|
|
|
# remote deployment to my servers!!
|
|
|
|
|
colmena = {
|
|
|
|
|
meta = {
|
|
|
|
|
# set nixpkgs global
|
|
|
|
|
nixpkgs = pkgs;
|
|
|
|
|
# set nixpkgs per server
|
|
|
|
|
# nodeNixpkgs = {
|
|
|
|
|
# hyrule = pkgs;
|
|
|
|
|
# };
|
2025-02-11 15:47:56 +10:00
|
|
|
};
|
2025-02-12 14:33:38 +10:00
|
|
|
|
|
|
|
|
# meine vps
|
|
|
|
|
hyrule = import ./hosts/hyrule;
|
2024-11-08 01:00:21 +10:00
|
|
|
};
|
|
|
|
|
};
|
2024-10-30 13:51:36 +10:00
|
|
|
}
|