Merge branch 'nixbook/cosmic' into zenix/hm-cosmic
This commit is contained in:
commit
cdd2897470
10 changed files with 36 additions and 42 deletions
|
|
@ -110,5 +110,4 @@ in {
|
|||
};
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./pcmanfm.nix
|
||||
./mpv.nix
|
||||
|
|
@ -34,7 +31,6 @@
|
|||
bitwarden
|
||||
];
|
||||
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"application/pdf" = "sioyek.desktop";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim =
|
||||
{
|
||||
enable = true;
|
||||
|
|
@ -8,7 +13,8 @@
|
|||
programs.vscode = {
|
||||
extensions = [pkgs.vscode-extensions.asvetliakov.vscode-neovim];
|
||||
userSettings = {
|
||||
"vscode-neovim.neovimExecutablePaths.linux" = "${pkgs.neovim}/bin/nvim";
|
||||
"vscode-neovim.neovimExecutablePaths.linux" =
|
||||
lib.getExe config.programs.nixvim.package;
|
||||
"extensions.experimental.affinity" = {
|
||||
"asvetliakov.vscode-neovim" = 1;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ in {
|
|||
remoteWorkspaceFolder=$(echo $res | ${jq} -r '.remoteWorkspaceFolder')
|
||||
docker exec -it --workdir=$remoteWorkspaceFolder $containerId bash
|
||||
''))
|
||||
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
|
|
|
|||
|
|
@ -36,8 +36,7 @@
|
|||
|
||||
programs.rbw.settings.pinentry = pkgs.pinentry-gnome3;
|
||||
|
||||
home.file.".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ";
|
||||
home.file.".config/pipewire/pipewire.conf.d/raop-discover.conf".text = ''
|
||||
xdg.configFile."pipewire/pipewire.conf.d/raop-discover.conf".text = ''
|
||||
context.modules = [
|
||||
{
|
||||
name = libpipewire-module-raop-discover
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@
|
|||
servers = {
|
||||
ts-ls.enable = true;
|
||||
nil-ls.enable = true;
|
||||
gopls.enable = true;
|
||||
};
|
||||
keymaps = {
|
||||
lspBuf = {
|
||||
|
|
@ -255,17 +256,24 @@
|
|||
enable = true;
|
||||
lookahead = true;
|
||||
keymaps = {
|
||||
"af" = { query = "@function.outer"; desc = "Function Outer"; };
|
||||
"ac" = { query = "@comment.outer"; desc = "Comment Outer"; };
|
||||
"if" = { query = "@function.inner"; desc = "Function Inner"; };
|
||||
"af" = {
|
||||
query = "@function.outer";
|
||||
desc = "Function Outer";
|
||||
};
|
||||
"ac" = {
|
||||
query = "@comment.outer";
|
||||
desc = "Comment Outer";
|
||||
};
|
||||
"if" = {
|
||||
query = "@function.inner";
|
||||
desc = "Function Inner";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
oil.enable = true;
|
||||
autoclose.enable = true;
|
||||
ts-autotag.enable = true;
|
||||
guess-indent.enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ in {
|
|||
"openssl-1.1.1w" # required for mongodb
|
||||
];
|
||||
|
||||
|
||||
networking = {
|
||||
networkmanager = {
|
||||
plugins = [pkgs.networkmanager-openvpn];
|
||||
|
|
|
|||
|
|
@ -7,9 +7,8 @@
|
|||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
raopOpenFirewall = true;
|
||||
};
|
||||
# pipewire raop
|
||||
networking.firewall.allowedUDPPorts = [6002 6001];
|
||||
# network streaming
|
||||
networking.firewall.allowedTCPPorts = [4713];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,19 +10,6 @@
|
|||
];
|
||||
|
||||
security.polkit.enable = true;
|
||||
systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
wantedBy = ["graphical-session.target"];
|
||||
wants = ["graphical-session.target"];
|
||||
after = ["graphical-session.target"];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.opentabletdriver.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
{stdenv, pkgs, ...}:
|
||||
let
|
||||
{
|
||||
stdenv,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
version = "6.0.14";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
|
@ -29,4 +32,3 @@ in
|
|||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue