nixos/flake.nix
ISnortPennies b2af978996 cleaned up flake
condensed and cleaned up home-manager configuration
moved nix settings to nix.nix (nice name i know)
moved all shell configuration to shell.nix
moved default package exclusion to packages.nix
switched to nitch from neofetch
moved font from overlay
removed almost pointless librewolf home-manager configuration
changed wallpaper
2023-01-30 02:44:40 -05:00

67 lines
1.8 KiB
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:NixOS/nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify-nix = {
url = "github:the-argus/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
suckless = {
url = "github:ISnortPennies/suckless";
inputs.nixpkgs.follows = "nixpkgs";
};
nvim-config = {
url = "github:ISnortPennies/nvim-config";
inputs.nixpkgs.follows = "nixpkgs";
};
sxhkd-flake = {
url = "github:ISnortPennies/sxhkd-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
...
} @ inputs: let
settings = {
username = "gerg";
version = "23.05";
};
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [
(final: prev: rec {
t-rex-miner = final.callPackage ./pkgs/t-rex-miner {};
afk-cmds = final.callPackage ./pkgs/afk-cmds {};
parrot = final.callPackage ./pkgs/parrot {};
webcord = inputs.nixpkgs-master.legacyPackages.${system}.webcord;
})
inputs.suckless.overlay
];
};
in {
formatter.x86_64-linux = pkgs.alejandra;
nixosConfigurations = {
gerg-desktop = lib.nixosSystem {
inherit system pkgs;
specialArgs = {inherit inputs settings;};
modules = [
inputs.sxhkd-flake.nixosModules.sxhkd
inputs.home-manager.nixosModules.home-manager
./home-manager
./configuration.nix
./systems/desktop.nix
./nix.nix
];
};
};
};
}