for package writing + format a fwe things
This commit is contained in:
parent
495d95523f
commit
b685d931d7
6 changed files with 88 additions and 64 deletions
|
@ -1,10 +1,15 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page and in the NixOS manual (accessible by running `nixos-help`).
|
||||
|
||||
{ config, pkgs, lib, inputs, outputs, ... }:
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
@ -106,6 +111,4 @@
|
|||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.bspwm;
|
||||
in
|
||||
{
|
||||
outputs,
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.desktop.bspwm;
|
||||
in {
|
||||
imports = [
|
||||
./polybar
|
||||
./lemonbar
|
||||
|
@ -30,7 +35,6 @@ in
|
|||
package = pkgs.vimix-gtk-themes;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
libinput = {
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.dwm;
|
||||
in
|
||||
{
|
||||
outputs,
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.desktop.dwm;
|
||||
in {
|
||||
options.modules.desktop.dwm = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.xmonad;
|
||||
in
|
||||
{
|
||||
outputs,
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.modules.desktop.xmonad;
|
||||
in {
|
||||
options.modules.desktop.xmonad = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
|
7
packages/.nixd.json
Normal file
7
packages/.nixd.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"eval": {
|
||||
"target": {
|
||||
"args": ["--expr", "with import <nixpkgs> { }; ./default.nix { }"]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Custom packages, that can be defined similarly to ones from nixpkgs
|
||||
# You can build them using 'nix build .#example' or (legacy) 'nix-build -A example'
|
||||
|
||||
{pkgs ? (import ../nixpkgs.nix) {}}: {
|
||||
# example = pkgs.callPackage ./example { };
|
||||
sako.davinci-resolve = pkgs.callPackage ./davinci-resolve.nix {};
|
||||
nullpomino = pkgs.callPackage ./nullpomino.nix {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue