alt
This commit is contained in:
parent
b5d14a8b64
commit
08044381f6
4 changed files with 29 additions and 14 deletions
|
|
@ -21,15 +21,8 @@
|
||||||
./system/gnome.nix
|
./system/gnome.nix
|
||||||
./system/btrbk.nix
|
./system/btrbk.nix
|
||||||
./system/hardware-nova.nix
|
./system/hardware-nova.nix
|
||||||
|
./system/alt.nix
|
||||||
];
|
];
|
||||||
users.users.alt = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "Alt";
|
|
||||||
extraGroups = [
|
|
||||||
"networkmanager"
|
|
||||||
];
|
|
||||||
shell = pkgs.fish;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
romulus = nixpkgs.lib.nixosSystem {
|
romulus = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,12 @@
|
||||||
updateInterval = 24 * 60 * 60 * 1000;
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
definedAliases = [ "@nw" ];
|
definedAliases = [ "@nw" ];
|
||||||
};
|
};
|
||||||
|
"NixOS Options" = {
|
||||||
|
urls = [{ template = "https://search.nixos.org/options?query={searchTerms}"; }];
|
||||||
|
iconUpdateURL = "https://nixos.org/favicon.png";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000;
|
||||||
|
definedAliases = [ "@no" ];
|
||||||
|
};
|
||||||
"Home manager options" = {
|
"Home manager options" = {
|
||||||
urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}"; }];
|
urls = [{ template = "https://mipmip.github.io/home-manager-option-search/?query={searchTerms}"; }];
|
||||||
iconUpdateURL = "https://mipmip.github.io/home-manager-option-search/images/favicon.png";
|
iconUpdateURL = "https://mipmip.github.io/home-manager-option-search/images/favicon.png";
|
||||||
|
|
@ -107,6 +113,7 @@
|
||||||
user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query ");
|
user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query ");
|
||||||
user_pref("network.trr.mode", 3);
|
user_pref("network.trr.mode", 3);
|
||||||
user_pref("network.trr.uri", "https://dns.quad9.net/dns-query");
|
user_pref("network.trr.uri", "https://dns.quad9.net/dns-query");
|
||||||
|
user_pref("permissions.default.desktop-notification", 2);
|
||||||
user_pref("privacy.annotate_channels.strict_list.enabled", true);
|
user_pref("privacy.annotate_channels.strict_list.enabled", true);
|
||||||
user_pref("privacy.donottrackheader.enabled", true);
|
user_pref("privacy.donottrackheader.enabled", true);
|
||||||
user_pref("privacy.globalprivacycontrol.enabled", true);
|
user_pref("privacy.globalprivacycontrol.enabled", true);
|
||||||
|
|
|
||||||
15
system/alt.nix
Normal file
15
system/alt.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
users.users.alt = {
|
||||||
|
isSystemUser = true;
|
||||||
|
description = "Alt";
|
||||||
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
];
|
||||||
|
shell = pkgs.fish;
|
||||||
|
group = "alt";
|
||||||
|
home = "/home/alt";
|
||||||
|
};
|
||||||
|
users.groups.alt = {};
|
||||||
|
}
|
||||||
|
|
@ -12,8 +12,8 @@ in
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" "v4l2loopback" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||||
|
|
||||||
boot.initrd.luks.devices."cryptroot" = {
|
boot.initrd.luks.devices."cryptroot" = {
|
||||||
device = "/dev/disk/by-uuid/eaad533f-8586-4002-9c53-5aecf8e7abd8";
|
device = "/dev/disk/by-uuid/eaad533f-8586-4002-9c53-5aecf8e7abd8";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue