(Laptop) Gen 9: fixed up laptop config files to fit the environment better, added keyd
This commit is contained in:
27
glasshouse-laptop/home/toilet/flake.lock
generated
27
glasshouse-laptop/home/toilet/flake.lock
generated
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1726937504,
|
||||
"narHash": "sha256-bvGoiQBvponpZh8ClUcmJ6QnsNKw0EMrCQJARK3bI1c=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9357f4f23713673f310988025d9dc261c20e70c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
{
|
||||
description = "Toilet Configuration with Extra Fonts";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
# Fetch extra fonts from GitHub
|
||||
extraFonts = pkgs.fetchFromGitHub {
|
||||
owner = "xero";
|
||||
repo = "figlet-fonts";
|
||||
rev = "master"; # Or specify a particular commit/tag
|
||||
sha256 = "sha256-dAs7N66D2Fpy4/UB5Za1r2qb1iSAJR6TMmau1asxgtY="; # Replace with actual hash
|
||||
};
|
||||
in {
|
||||
packages.${system} = {
|
||||
default = pkgs.toilet.overrideAttrs (oldAttrs: rec {
|
||||
buildInputs = oldAttrs.buildInputs or [] ++ [ extraFonts ];
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX=$out
|
||||
|
||||
# Copy the extra fonts into the correct directory
|
||||
mkdir -p $out/share/figlet
|
||||
cp -r ${extraFonts}/* $out/share/figlet
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
||||
# Define a development shell for testing
|
||||
devShells.${system} = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pkgs.toilet
|
||||
extraFonts
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "Toilet dev shell with extra fonts"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
/nix/store/i2ibv054n0ll5p78qabrkb5sxcjzbr2n-toilet-0.3
|
||||
Reference in New Issue
Block a user