Move unfree predicate into flake.nix
Add NoMachine to Vanguard for wfh setup
This commit is contained in:
parent
bb8cdb1fe3
commit
f99b8955c7
10
flake.nix
10
flake.nix
|
@ -112,7 +112,7 @@
|
|||
inherit wallpapers catppuccin-themes;
|
||||
inherit (inputs) doom-emacs gitui anyrun;
|
||||
};
|
||||
commonModule = { pkgs, ... }: {
|
||||
commonModule = { lib, pkgs, ... }: {
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
|
@ -130,6 +130,14 @@
|
|||
max-free = ${toString (1024 * 1024 * 1024)}
|
||||
'';
|
||||
};
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"discord"
|
||||
"nomachine-client"
|
||||
];
|
||||
networking = {
|
||||
inherit hostName;
|
||||
networkmanager.enable = true;
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
environment.etc."ppp/options".text = ''
|
||||
ipcp-accept-remote
|
||||
'';
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [ "nomachine-client" ];
|
||||
services.syncthing.settings.folders = {
|
||||
"Archive".enable = false;
|
||||
"Books".enable = false;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ nomachine-client ];
|
||||
xdg.configFile."hypr/extra.conf".text = ''
|
||||
monitor=DP-1,highrr,auto,1.00
|
||||
'';
|
||||
|
|
|
@ -1,14 +1,7 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ prismlauncher discord ];
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"discord"
|
||||
];
|
||||
hardware = {
|
||||
opengl.driSupport32Bit = true;
|
||||
steam-hardware.enable = true;
|
||||
|
|
Loading…
Reference in a new issue