153 lines
4.5 KiB
Nix
153 lines
4.5 KiB
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
#nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
nixpkgs.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.11";
|
|
|
|
#nixpkgs-us.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
nixpkgs-us.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-unstable";
|
|
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
|
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager = {
|
|
#url = "github:nix-community/home-manager/release-24.11";
|
|
url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
|
|
|
#simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05";
|
|
|
|
#hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
|
hyprland.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/hyprland?submodules=1";
|
|
|
|
tokyo-night-sddm = {
|
|
url = "github:siddrs/tokyo-night-sddm";
|
|
flake = false;
|
|
};
|
|
|
|
sugar-dark-sddm = {
|
|
url = "github:MarianArlt/sddm-sugar-dark";
|
|
flake = false;
|
|
};
|
|
|
|
nixvim.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/Moirai";
|
|
|
|
ags.url = "github:Aylur/ags/v1";
|
|
|
|
themecord = {
|
|
url = "github:danihek/themecord";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... } @ inputs: {
|
|
|
|
tokyo-night-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
|
|
|
|
name = "tokyo-night";
|
|
|
|
src = inputs.tokyo-night-sddm;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -R $src/* $out/
|
|
'';
|
|
|
|
};
|
|
|
|
sugar-dark-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
|
|
|
|
name = "sugar-dark";
|
|
|
|
src = inputs.sugar-dark-sddm;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -R $src/* $out/
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
homebox = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
nathan-home-manager = import ./home-manager/nathan;
|
|
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/homebox
|
|
./system-config
|
|
];
|
|
};
|
|
|
|
laptop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
nathan-home-manager = import ./home-manager/nathan;
|
|
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/laptop
|
|
./system-config
|
|
];
|
|
};
|
|
|
|
live = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
nathan-home-manager = import ./home-manager/nathan;
|
|
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/live
|
|
./system-config
|
|
];
|
|
};
|
|
};
|
|
|
|
|
|
homeConfigurations = {
|
|
|
|
"nix-on-droid" = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = import nixpkgs { system = "aarch64-linux"; };
|
|
|
|
modules = [
|
|
./home-manager/nathan
|
|
{
|
|
config.homeconfig = {
|
|
wal.enable = true;
|
|
calcurse.enable = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|