83 lines
2.2 KiB
Nix
83 lines
2.2 KiB
Nix
{
|
|
description = "danny NixOS";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
# nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
home-manager.url = "github:nix-community/home-manager/release-24.11";
|
|
# home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nix-index-database.url = "github:nix-community/nix-index-database";
|
|
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
ghostty = {
|
|
url = "github:ghostty-org/ghostty";
|
|
};
|
|
|
|
yazi = {
|
|
url = "github:sxyazi/yazi";
|
|
};
|
|
|
|
# Not used yet due to some skill issue
|
|
hyprland = {
|
|
type = "git";
|
|
url = "https://github.com/hyprwm/Hyprland";
|
|
submodules = true;
|
|
};
|
|
hyprland-plugins = {
|
|
url = "github:hyprwm/hyprland-plugins";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
hyprgrass = {
|
|
url = "github:horriblename/hyprgrass";
|
|
inputs.hyprland.follows = "hyprland";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs, nix-index-database, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
formatter.x86_64-linux =
|
|
nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
|
|
|
nixosConfigurations.dn-pre7780 = nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
nix-index-database.nixosModules.nix-index
|
|
./system/dev/dn-pre7780
|
|
];
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit system;
|
|
};
|
|
};
|
|
|
|
nixosConfigurations.dn-lap = nixpkgs.lib.nixosSystem {
|
|
modules = [
|
|
nix-index-database.nixosModules.nix-index
|
|
./system/dev/dn-lap
|
|
];
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit system;
|
|
};
|
|
};
|
|
|
|
# homeConfigurations = {
|
|
# danny = home-manager.lib.homeManagerConfiguration {
|
|
# inherit pkgs;
|
|
# modules = [ ./home ];
|
|
# extraSpecialArgs = {
|
|
# inherit pkgs-unstable;
|
|
# inherit inputs;
|
|
# };
|
|
# };
|
|
# };
|
|
# programs.home-manager.enable = true;
|
|
};
|
|
}
|