This commit is contained in:
illustris 2022-03-17 00:47:52 +05:30
parent c870f10166
commit dd0d51a451
6 changed files with 26 additions and 15 deletions

View File

@ -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"

View File

@ -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
];

View File

@ -70,4 +70,8 @@
enable = true;
};
hardware = {
firmware = with pkgs; [ linux-firmware ];
bluetooth.enable = true;
};
}

View File

@ -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
];
}

View File

@ -1,5 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
./chromium
./openvpn
];
}

View File

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
environment = {
systemPackages = with pkgs; [openvpn];
etc.openvpn.source = "${pkgs.update-resolv-conf}/libexec/openvpn";
};
}