fresh
This commit is contained in:
Binary file not shown.
27
modules/chataigne/flake.lock
generated
27
modules/chataigne/flake.lock
generated
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1780952837,
|
||||
"narHash": "sha256-Fwd1+spDtQ0hDyBwme6ufG3n4mY0UrjjFdYHv+G/Hds=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e820eb4a444b46a19b2e03e8dfd2359439ff30fe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
{
|
||||
description = "Local wrapper for Chataigne AppImage";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
|
||||
# The libraries you requested
|
||||
deps = with pkgs; [
|
||||
curlFull
|
||||
gnutls
|
||||
libxrandr
|
||||
alsa-lib
|
||||
freetype
|
||||
avahi
|
||||
libglvnd
|
||||
curl
|
||||
SDL2
|
||||
hidapi
|
||||
libpulseaudio
|
||||
lz4
|
||||
openssl
|
||||
libcap
|
||||
libxcrypt
|
||||
libgcrypt
|
||||
libbsd
|
||||
zlib
|
||||
glib
|
||||
];
|
||||
|
||||
# Wrap the local AppImage file
|
||||
chataigne-bin = pkgs.appimageTools.wrapType2 {
|
||||
pname = "chataigne";
|
||||
version = "1.10.3";
|
||||
# This points to the file in the same directory as flake.nix
|
||||
src = ./Chataigne-linux-x64-1.10.3.AppImage;
|
||||
extraPkgs = pkgs: deps;
|
||||
};
|
||||
|
||||
# Create the Desktop Entry
|
||||
chataigne-desktop = pkgs.makeDesktopItem {
|
||||
name = "chataigne";
|
||||
exec = "chataigne";
|
||||
icon = "chataigne";
|
||||
comment = "Modular machine for art and technology";
|
||||
desktopName = "Chataigne";
|
||||
categories = [
|
||||
"AudioVideo"
|
||||
"Development"
|
||||
];
|
||||
};
|
||||
in {
|
||||
# packages.${system}.default = chataigne-bin;
|
||||
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
# Packages you want available in your shell
|
||||
buildInputs = [
|
||||
chataigne-bin
|
||||
];
|
||||
|
||||
# Environmental variables or shell hooks
|
||||
shellHook = ''
|
||||
echo "something"
|
||||
'';
|
||||
};
|
||||
# This allows you to run 'nix run' or install it via system config
|
||||
packages.${system}.default = pkgs.symlinkJoin {
|
||||
name = "chataigne";
|
||||
paths = [
|
||||
chataigne-bin
|
||||
chataigne-desktop
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
11
modules/hosts/HACKSTATION/default.nix
Normal file
11
modules/hosts/HACKSTATION/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
flake.nixosConfigurations.desktop = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
self.nixosModules.desktopConfiguration
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
services.libinput.enable = true;
|
||||
|
||||
services.displayManager.defaultSession = "hyprland";
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
};
|
||||
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
dmenu # application launcher most people use
|
||||
i3status # gives you the default i3 status bar
|
||||
xinit
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user