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