update
This commit is contained in:
parent
c870f10166
commit
dd0d51a451
@ -17,6 +17,7 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./desktop-configuration.nix
|
||||
./modules
|
||||
];
|
||||
|
||||
# Support ARM builds
|
||||
@ -91,10 +92,10 @@
|
||||
networkmanager
|
||||
nfs-utils
|
||||
nix-du
|
||||
nix-top
|
||||
nix-prefetch-git
|
||||
nix-tree
|
||||
nnn
|
||||
openvpn
|
||||
p7zip
|
||||
pciutils
|
||||
powertop
|
||||
@ -122,7 +123,6 @@
|
||||
(writeScriptBin "vpnpass" (builtins.readFile ./scripts/vpnpass))
|
||||
];
|
||||
etc = {
|
||||
openvpn.source = "${pkgs.update-resolv-conf}/libexec/openvpn";
|
||||
nixpkgs.source = let sources = import ./nix/sources.nix; in sources.nixpkgs;
|
||||
};
|
||||
};
|
||||
@ -197,6 +197,7 @@
|
||||
};
|
||||
flatpak.enable = true;
|
||||
gnome3.gnome-keyring.enable = true;
|
||||
qemuGuest.enable = true;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
@ -204,20 +205,13 @@
|
||||
libvirtd.enable = true;
|
||||
};
|
||||
|
||||
# Temporary fix for qemu-ga till #112886 gets merged
|
||||
systemd.services.qemu-guest-agent = {
|
||||
description = "Run the QEMU Guest Agent";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.qemu}/bin/qemu-ga --statedir /var/run";
|
||||
Restart = "always";
|
||||
RestartSec = 0;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.enable = false;
|
||||
|
||||
nix = {
|
||||
autoOptimiseStore = true;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
nixPath = [
|
||||
"nixpkgs=${pkgs.path}"
|
||||
"nixos-config=/etc/nixos/configuration.nix"
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
#backend = "xr_glx_hybrid";
|
||||
backend = "glx";
|
||||
};
|
||||
blueman.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
@ -113,7 +114,6 @@
|
||||
obs-studio
|
||||
dunst
|
||||
libnotify
|
||||
ungoogled-chromium
|
||||
zoom-us
|
||||
guake
|
||||
];
|
||||
|
||||
@ -70,4 +70,8 @@
|
||||
enable = true;
|
||||
};
|
||||
|
||||
hardware = {
|
||||
firmware = with pkgs; [ linux-firmware ];
|
||||
bluetooth.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
config.programs.chromium = {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
"gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
|
||||
@ -23,4 +23,7 @@
|
||||
DefaultCookiesSetting = 1;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
ungoogled-chromium
|
||||
];
|
||||
}
|
||||
@ -1,5 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./chromium
|
||||
./openvpn
|
||||
];
|
||||
}
|
||||
8
modules/openvpn/default.nix
Normal file
8
modules/openvpn/default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs; [openvpn];
|
||||
etc.openvpn.source = "${pkgs.update-resolv-conf}/libexec/openvpn";
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user