211 lines
6.8 KiB
Nix
211 lines
6.8 KiB
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
#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";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.05";
|
|
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
home-manager-us = {
|
|
url = "github:nix-community/home-manager/master";
|
|
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs-us";
|
|
};
|
|
|
|
#nixpkgs-droid.url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nixpkgs?ref=nixos-24.05";
|
|
/*
|
|
home-manager-droid = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
#url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/home-manager?ref=release-24.05";
|
|
inputs.nixpkgs.follows = "nixpkgs-droid";
|
|
};
|
|
|
|
nix-on-droid = {
|
|
url = "git+ssh://gitea@gitea.blunkall.us/Blunkall-Technologies/nix-on-droid?ref=release-24.05";
|
|
inputs.nixpkgs.follows = "nixpkgs-droid";
|
|
};
|
|
*/
|
|
disko = {
|
|
url = "github:nix-community/disko";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
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";
|
|
#nixvim.url = "git+https://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 = import ./home-manager/users/nathan;
|
|
home-manager-config = import ./home-manager;
|
|
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
|
inherit self;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/homebox
|
|
./system-config
|
|
];
|
|
};
|
|
|
|
laptop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
nathan = import ./home-manager/users/nathan;
|
|
home-manager-config = import ./home-manager;
|
|
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
|
inherit self;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/laptop
|
|
./system-config
|
|
];
|
|
};
|
|
|
|
jesstop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/jesstop
|
|
./system-config
|
|
];
|
|
};
|
|
|
|
pi4 = {
|
|
system = "aarch64-linux";
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
nathan-home-manager = import ./home-manager/nathan;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/pi4
|
|
./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
|
|
];
|
|
};
|
|
|
|
container = nixpkgs.lib.nixosSystem {
|
|
specialArgs = {
|
|
inputs = inputs // {
|
|
nathan-home-manager = import ./home-manager/nathan;
|
|
};
|
|
};
|
|
modules = [
|
|
./system-config/configuration/sandbox-nathan
|
|
./system-config
|
|
];
|
|
};
|
|
};
|
|
/*
|
|
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
|
pkgs = import nixpkgs { system = "aarch64-linux"; };
|
|
|
|
modules = [
|
|
{
|
|
home-manager.extraSpecialArgs = {
|
|
inputs = inputs // {
|
|
nix-on-droid-home-manager = import ./home-manager/nix-on-droid;
|
|
};
|
|
};
|
|
}
|
|
./system-config/configuration/android
|
|
./system-config
|
|
];
|
|
};
|
|
*/
|
|
};
|
|
}
|