init: working version

This commit is contained in:
Kiana Sheibani 2025-10-07 19:43:46 -04:00
commit 7d8d7dacae
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
109 changed files with 15066 additions and 0 deletions

45
flake.nix Normal file
View file

@ -0,0 +1,45 @@
{
description = "My personal desktop shell, made with Quickshell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nix-systems.url = "github:nix-systems/default";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nix-systems, quickshell, ... } @ inputs:
let
inherit (nixpkgs) lib;
eachSystem = lib.genAttrs (import nix-systems);
fonts = pkgs: with pkgs; [ material-symbols rubik nerd-fonts.jetbrains-mono ];
in {
packages = eachSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in rec {
toki-quickshell = pkgs.callPackage ./package.nix {
quickshell = quickshell.packages.${system}.default.override {
withX11 = false;
withI3 = false;
};
fonts = fonts pkgs;
};
default = toki-quickshell;
});
devShells = eachSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
shell = self.packages.${system}.default;
in {
default = pkgs.mkShell {
inputsFrom = [ shell ];
packages = [ pkgs.clazy ] ++ fonts pkgs;
};
});
};
}