get displaylink driver working kinda, also gpg
This commit is contained in:
parent
57c90363b6
commit
78197b5600
@ -2,11 +2,12 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, lib, pkgs, nixos-unstable, ... }:
|
||||
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
|
||||
|
||||
{
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
@ -35,6 +36,8 @@
|
||||
LC_TIME = "en_US.UTF-8";
|
||||
};
|
||||
|
||||
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
@ -44,7 +47,7 @@
|
||||
options = "caps_lock:esc";
|
||||
};
|
||||
videoDrivers = [
|
||||
# "displaylink" # broken
|
||||
"displaylink" # broken
|
||||
"modesetting"
|
||||
];
|
||||
# Enable the GNOME Desktop Environment.
|
||||
|
2
fetch-dl-driver.sh
Normal file
2
fetch-dl-driver.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# this must be run before first bootstrap on new machine. IM SORRY
|
||||
nix-prefetch-url https://marq42.xyz/displaylink-580.zip
|
13
flake.lock
generated
13
flake.lock
generated
@ -22,6 +22,18 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"displaylink": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-hR26phh9YMYsOWT4tIKj6/ZeItBygtw3cJ5ezOtGkMM=",
|
||||
"type": "file",
|
||||
"url": "https://marq42.xyz/displaylink-580.zip"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://marq42.xyz/displaylink-580.zip"
|
||||
}
|
||||
},
|
||||
"emacs-config": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@ -130,6 +142,7 @@
|
||||
"root": {
|
||||
"inputs": {
|
||||
"apple-silicon": "apple-silicon",
|
||||
"displaylink": "displaylink",
|
||||
"emacs-config": "emacs-config",
|
||||
"home-manager": "home-manager",
|
||||
"home-manager-unstable": "home-manager-unstable",
|
||||
|
@ -19,6 +19,10 @@
|
||||
url = "git+https://git.marq42.xyz/mir/emacs?ref=main";
|
||||
flake = false;
|
||||
};
|
||||
displaylink = {
|
||||
url = "file+https://marq42.xyz/displaylink-580.zip";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
outputs = inputs@{
|
||||
self,
|
||||
|
BIN
hardware/displaylink-580.zip
Normal file
BIN
hardware/displaylink-580.zip
Normal file
Binary file not shown.
14
home.nix
14
home.nix
@ -135,13 +135,13 @@ with lib.hm.gvariant;
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
# package = pkgs.gnupg.overrideAttrs (orig: {
|
||||
# version = "2.4.0";
|
||||
# src = pkgs.fetchurl {
|
||||
# url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
|
||||
# hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
|
||||
# };
|
||||
# });
|
||||
package = pkgs.gnupg.overrideAttrs (orig: {
|
||||
version = "2.4.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://gnupg/gnupg/gnupg-2.4.0.tar.bz2";
|
||||
hash = "sha256-HXkVjdAdmSQx3S4/rLif2slxJ/iXhOosthDGAPsMFIM=";
|
||||
};
|
||||
});
|
||||
# agent = {
|
||||
# pinentryFlavor = "gnome3";
|
||||
# };
|
||||
|
Loading…
Reference in New Issue
Block a user