added nom for the build (sudo prompt won't show up but password input still works)

This commit is contained in:
Lillian Violet 2025-05-24 03:20:31 +02:00
parent 63e74350fb
commit 65032788b2
6 changed files with 231 additions and 177 deletions

View file

@ -33,11 +33,7 @@
# catpuccin theme
catppuccin.url = "github:catppuccin/nix";
# Conduit fork without all the fuss and drama
conduwuit = {
url = "github:girlbossceo/conduwuit";
inputs.nixpkgs.follows = "nixpkgs";
};
# Conduwuit fork after it shut down
# Nix index database files
nix-index-database.url = "github:nix-community/nix-index-database";
@ -103,6 +99,12 @@
stylix,
...
} @ inputs: let
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
forEachSupportedSystem = f:
nixpkgs.lib.genAttrs supportedSystems (system:
f {
pkgs = import nixpkgs {inherit system;};
});
inherit (self) outputs;
inherit (inputs) nixpkgs-edge;
# Supported systems for your flake packages, shell, etc.
@ -149,6 +151,12 @@
}
];
in {
devShells = forEachSupportedSystem ({pkgs}: {
default = pkgs.mkShell {
packages = with pkgs; [nom just git];
};
});
# Your custom packages
# Accessible through 'nix build', 'nix shell', etc
packages = forAllSystems (system: