loki - swich to framework and primary, book to not primary
This commit is contained in:
parent
97c172a0d0
commit
c249aff6a6
4 changed files with 8 additions and 6 deletions
|
|
@ -27,7 +27,7 @@
|
|||
tlp.enable = true;
|
||||
gnome-calendar.enable = true;
|
||||
};
|
||||
primary.enable = true;
|
||||
primary.enable = false;
|
||||
wm = {
|
||||
sway.enable = true;
|
||||
kde.enable = false;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.nixos-hardware.nixosModules.dell-xps-13-9310
|
||||
inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series
|
||||
./hardware-configuration.nix
|
||||
# ../disko/nvme.nix
|
||||
../workstation
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
auto-cpufreq.enable = true;
|
||||
gnome-calendar.enable = true;
|
||||
};
|
||||
primary.enable = false;
|
||||
primary.enable = true;
|
||||
wm = {
|
||||
sway.enable = true;
|
||||
kde.enable = false;
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ in {
|
|||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = true;
|
||||
permittedInsecurePackages = ["libsoup-2.74.3"];
|
||||
permittedInsecurePackages = ["libsoup-2.74.3" "qtwebengine-5.15.19"];
|
||||
allowInsecurePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) ["broadcom-sta"];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,10 +3,12 @@
|
|||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.primary;
|
||||
in {
|
||||
options.primary = mkIf cfg.enable {
|
||||
options.primary = {enable = mkEnableOption "is primary host";};
|
||||
config = mkIf cfg.enable {
|
||||
systemd = {
|
||||
user = {
|
||||
services = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue