summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/morpheus/configuration.nix10
-rw-r--r--hosts/oracle/configuration.nix9
-rw-r--r--hosts/oracle/home.nix2
3 files changed, 16 insertions, 5 deletions
diff --git a/hosts/morpheus/configuration.nix b/hosts/morpheus/configuration.nix
index 522c8c9..00499a1 100644
--- a/hosts/morpheus/configuration.nix
+++ b/hosts/morpheus/configuration.nix
@@ -6,7 +6,7 @@
6 programs.zsh.enable = true; 6 programs.zsh.enable = true;
7 programs.zsh.promptInit = '' 7 programs.zsh.promptInit = ''
8 ''; 8 '';
9 nixpkgs.config.allowUnfree = true; 9 environment.pathsToLink = ["/share/zsh"];
10 security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "/etc/ssl/certs/zscaler.pem" ]; 10 security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" "/etc/ssl/certs/zscaler.pem" ];
11 11
12 homebrew = { 12 homebrew = {
@@ -14,13 +14,19 @@
14 casks = [ "brave-browser" "karabiner-elements" ]; 14 casks = [ "brave-browser" "karabiner-elements" ];
15 }; 15 };
16 16
17 nixpkgs = {
18 config = {
19 allowUnfree = true;
20 input-fonts.acceptLicense = true;
21 };
22 };
23
17 nix = { 24 nix = {
18 extraOptions = '' 25 extraOptions = ''
19 experimental-features = nix-command flakes 26 experimental-features = nix-command flakes
20 ''; 27 '';
21 }; 28 };
22 29
23 environment.pathsToLink = ["/share/zsh"];
24 system.activationScripts.applications.text = pkgs.lib.mkForce ( 30 system.activationScripts.applications.text = pkgs.lib.mkForce (
25 '' 31 ''
26 echo "setting up ~/Applications..." >&2 32 echo "setting up ~/Applications..." >&2
diff --git a/hosts/oracle/configuration.nix b/hosts/oracle/configuration.nix
index 9782959..c6daff9 100644
--- a/hosts/oracle/configuration.nix
+++ b/hosts/oracle/configuration.nix
@@ -33,13 +33,16 @@
33 extraGroups = [ "networkmanager" "wheel" "docker" ]; 33 extraGroups = [ "networkmanager" "wheel" "docker" ];
34 }; 34 };
35 35
36 nixpkgs.config.allowUnfree = true; 36 nixpkgs = {
37 config = {
38 allowUnfree = true;
39 input-fonts.acceptLicense = true;
40 };
41 };
37 42
38 environment = { 43 environment = {
39 pathsToLink = ["/share/zsh"]; 44 pathsToLink = ["/share/zsh"];
40 systemPackages = with pkgs; [ 45 systemPackages = with pkgs; [
41 neovim
42 git
43 interception-tools 46 interception-tools
44 ]; 47 ];
45 }; 48 };
diff --git a/hosts/oracle/home.nix b/hosts/oracle/home.nix
index 88a186a..b758d41 100644
--- a/hosts/oracle/home.nix
+++ b/hosts/oracle/home.nix
@@ -14,6 +14,7 @@
14 unzip 14 unzip
15 wget 15 wget
16 gnupg 16 gnupg
17 neovim
17 file 18 file
18 pinentry 19 pinentry
19 wl-clipboard 20 wl-clipboard
@@ -23,6 +24,7 @@
23 firefox 24 firefox
24 brave 25 brave
25 libreoffice-qt 26 libreoffice-qt
27 input-fonts
26 (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) 28 (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
27 ]; 29 ];
28 30