update
This commit is contained in:
parent
cdde905c31
commit
ec0b560c6e
@ -17,6 +17,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./desktop-configuration.nix
|
./desktop-configuration.nix
|
||||||
|
./modules
|
||||||
];
|
];
|
||||||
|
|
||||||
# Support ARM builds
|
# Support ARM builds
|
||||||
@ -91,10 +92,10 @@
|
|||||||
networkmanager
|
networkmanager
|
||||||
nfs-utils
|
nfs-utils
|
||||||
nix-du
|
nix-du
|
||||||
|
nix-top
|
||||||
nix-prefetch-git
|
nix-prefetch-git
|
||||||
nix-tree
|
nix-tree
|
||||||
nnn
|
nnn
|
||||||
openvpn
|
|
||||||
p7zip
|
p7zip
|
||||||
pciutils
|
pciutils
|
||||||
powertop
|
powertop
|
||||||
@ -122,7 +123,6 @@
|
|||||||
(writeScriptBin "vpnpass" (builtins.readFile ./scripts/vpnpass))
|
(writeScriptBin "vpnpass" (builtins.readFile ./scripts/vpnpass))
|
||||||
];
|
];
|
||||||
etc = {
|
etc = {
|
||||||
openvpn.source = "${pkgs.update-resolv-conf}/libexec/openvpn";
|
|
||||||
nixpkgs.source = let sources = import ./nix/sources.nix; in sources.nixpkgs;
|
nixpkgs.source = let sources = import ./nix/sources.nix; in sources.nixpkgs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -194,6 +194,7 @@
|
|||||||
zerotierone.enable = true;
|
zerotierone.enable = true;
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
gnome3.gnome-keyring.enable = true;
|
gnome3.gnome-keyring.enable = true;
|
||||||
|
qemuGuest.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
@ -201,20 +202,13 @@
|
|||||||
libvirtd.enable = true;
|
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;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
'';
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"nixpkgs=${pkgs.path}"
|
"nixpkgs=${pkgs.path}"
|
||||||
"nixos-config=/etc/nixos/configuration.nix"
|
"nixos-config=/etc/nixos/configuration.nix"
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
#backend = "xr_glx_hybrid";
|
#backend = "xr_glx_hybrid";
|
||||||
backend = "glx";
|
backend = "glx";
|
||||||
};
|
};
|
||||||
|
blueman.enable = true;
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa = {
|
alsa = {
|
||||||
@ -113,7 +114,6 @@
|
|||||||
obs-studio
|
obs-studio
|
||||||
dunst
|
dunst
|
||||||
libnotify
|
libnotify
|
||||||
ungoogled-chromium
|
|
||||||
zoom-us
|
zoom-us
|
||||||
guake
|
guake
|
||||||
];
|
];
|
||||||
|
|||||||
@ -70,4 +70,8 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
firmware = with pkgs; [ linux-firmware ];
|
||||||
|
bluetooth.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config.programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extensions = [
|
extensions = [
|
||||||
"gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
|
"gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
|
||||||
@ -23,4 +23,7 @@
|
|||||||
DefaultCookiesSetting = 1;
|
DefaultCookiesSetting = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
ungoogled-chromium
|
||||||
|
];
|
||||||
}
|
}
|
||||||
@ -1,5 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
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