Compare commits
3 Commits
29939b2b63
...
8c17b9cea1
Author | SHA1 | Date | |
---|---|---|---|
8c17b9cea1 | |||
be6f87025b | |||
9e40e17e85 |
|
@ -101,9 +101,7 @@ in
|
|||
spotify
|
||||
discord
|
||||
audacity
|
||||
blender
|
||||
ghidra
|
||||
gimp
|
||||
hexfiend
|
||||
inkscape
|
||||
|
||||
|
|
17
flake.lock
17
flake.lock
|
@ -266,6 +266,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1726436956,
|
||||
"narHash": "sha256-a3rP7uafX/qBFX0y4CGS8vvTPvxsLl9eZQ85DkIn3DI=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "039b72d0c738c934e2e36d7fc5520d1b425287a6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"agda": "agda",
|
||||
|
@ -275,6 +291,7 @@
|
|||
"nix-darwin": "nix-darwin",
|
||||
"nixos-apple-silicon": "nixos-apple-silicon",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"unambig-path": "unambig-path",
|
||||
"unispect": "unispect"
|
||||
}
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
nix-darwin = {
|
||||
url = "github:LnL7/nix-darwin";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -39,9 +41,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, nix-darwin, kak, unispect, ansi-utils, unambig-path, agda, nixos-apple-silicon }:
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, nix-darwin, kak, unispect, ansi-utils, unambig-path, agda, nixos-apple-silicon }:
|
||||
let
|
||||
mkPkgs = system: import nixpkgs { system = system; config.allowUnfree = true; };
|
||||
mkPkgsUnstable = system: import nixpkgs-unstable { system = system; config.allowUnfree = true; };
|
||||
mkPkgsUnsupported = system: import nixpkgs { system = system; config.allowUnfree = true; config.allowUnsupportedSystem = true; };
|
||||
mkHome = {username, home-dir, prompt-color, system, pkgs} : import ./home/common.nix {
|
||||
inherit username home-dir prompt-color pkgs;
|
||||
|
@ -166,6 +169,7 @@
|
|||
let
|
||||
system = "aarch64-linux";
|
||||
pkgs = mkPkgs system;
|
||||
pkgs-unstable = mkPkgsUnstable system;
|
||||
base = mkNixOsBase {
|
||||
inherit system pkgs;
|
||||
hostname = "foxhut";
|
||||
|
@ -207,7 +211,7 @@
|
|||
ref = "main";
|
||||
rev = "012d29d4b4d7148414bb649c39805479c7a4327b";
|
||||
};
|
||||
tiny-dfr = import ./nixos/tiny-dfr.nix { inherit pkgs; };
|
||||
tiny-dfr = import ./nixos/tiny-dfr.nix { pkgs = pkgs-unstable; };
|
||||
in
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
|
|
@ -49,6 +49,8 @@ in rec {
|
|||
zulip-term
|
||||
|
||||
ngspice
|
||||
blender
|
||||
gimp
|
||||
|
||||
# (extras.challtools python311Packages)
|
||||
]);
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
{
|
||||
pkgs,
|
||||
tiny-dfr ? pkgs.tiny-dfr
|
||||
}: {
|
||||
}:
|
||||
assert tiny-dfr.version == "0.3.1";
|
||||
{
|
||||
services.udev.packages = [ tiny-dfr ];
|
||||
systemd.services.tiny-dfr = {
|
||||
enable = true;
|
||||
description = "tinydfr";
|
||||
after = ["systemd-user-sessions.service" "getty@tty1.service" "plymouth-quit.service" "systemd-logind.service"];
|
||||
description = "tiny-dfr";
|
||||
after = ["systemd-user-sessions.service" "getty@tty1.service" "plymouth-quit.service" "systemd-logind.service" "dev-tiny_dfr_display.device" "dev-tiny_dfr_backlight.device" "dev-tiny_dfr_display_backlight.device"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
bindsTo = ["dev-tiny_dfr_display.device" "dev-tiny_dfr_backlight.device" "dev-tiny_dfr_display_backlight.device"];
|
||||
startLimitIntervalSec = 30;
|
||||
startLimitBurst = 2;
|
||||
serviceConfig = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user