Compare commits
No commits in common. "01a56c145f55a3aeba1db109791043b8bf1b4419" and "fbceccefe631e8524351d90ffe5c08cf7a6cc3a0" have entirely different histories.
01a56c145f
...
fbceccefe6
|
@ -100,28 +100,6 @@ with pkgs;
|
||||||
identityPaths = [ "/etc/ssh/id_ed25519" ];
|
identityPaths = [ "/etc/ssh/id_ed25519" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable internal microphone when headphones are plugged in
|
|
||||||
hardware.firmware = [
|
|
||||||
(writeTextDir "/lib/firmware/hda-jack-retask.fw" ''
|
|
||||||
[codec]
|
|
||||||
0x10ec0293 0x17aa2233 0
|
|
||||||
|
|
||||||
[pincfg]
|
|
||||||
0x12 0x90a60130
|
|
||||||
0x13 0x40000000
|
|
||||||
0x14 0x90170110
|
|
||||||
0x15 0x03211040
|
|
||||||
0x16 0x21211010
|
|
||||||
0x18 0x411111f0
|
|
||||||
0x19 0x21a11010
|
|
||||||
0x1a 0x40f000f0
|
|
||||||
0x1b 0x411111f0
|
|
||||||
0x1d 0x40738105
|
|
||||||
0x1e 0x411111f0
|
|
||||||
'')
|
|
||||||
];
|
|
||||||
boot.extraModprobeConfig = "options snd-hda-intel patch=hda-jack-retask.fw";
|
|
||||||
|
|
||||||
# Import other configuration modules
|
# Import other configuration modules
|
||||||
imports = [
|
imports = [
|
||||||
./modules/hardware-configuration.nix
|
./modules/hardware-configuration.nix
|
||||||
|
|
|
@ -53,11 +53,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1648069223,
|
"lastModified": 1647800324,
|
||||||
"narHash": "sha256-BXzQV8p/RR440EB9qY0ULYfTH0zSW1stjUCYeP4SF+E=",
|
"narHash": "sha256-rjwoxrk16zfrcO5Torh6CbAd5GHsHrXw+EwxOvh9AUI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1d08ea2bd83abef174fb43cbfb8a856b8ef2ce26",
|
"rev": "9bc841fec1c0e8b9772afa29f934d2c7ce57da8e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -48,7 +48,6 @@ with pkgs;
|
||||||
export XDG_SESSION_TYPE=wayland
|
export XDG_SESSION_TYPE=wayland
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
'';
|
'';
|
||||||
wrapperFeatures.gtk = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Backlight
|
# Backlight
|
||||||
|
@ -92,6 +91,6 @@ with pkgs;
|
||||||
# Enable WebRTC screensharing
|
# Enable WebRTC screensharing
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
extraPortals = [ xdg-desktop-portal-wlr ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue