summaryrefslogtreecommitdiff
path: root/system-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-07-30 13:14:06 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-07-30 13:14:06 +0200
commitbbf8345289c36539c299c6d633a85d16285489d3 (patch)
treeefb23c7de97197a1bf29b7ed0e2f64e6ac6e6d4d /system-profiles
parent2f8b062363b293a72e4afa0e682f1c4371317515 (diff)
downloadnixos-bbf8345289c36539c299c6d633a85d16285489d3.tar
nixos-bbf8345289c36539c299c6d633a85d16285489d3.tar.gz
nixos-bbf8345289c36539c299c6d633a85d16285489d3.tar.bz2
nixos-bbf8345289c36539c299c6d633a85d16285489d3.tar.xz
nixos-bbf8345289c36539c299c6d633a85d16285489d3.zip
...
Diffstat (limited to 'system-profiles')
-rw-r--r--system-profiles/bcachefs.nix7
-rw-r--r--system-profiles/core/default.nix2
-rw-r--r--system-profiles/networkmanager.nix5
-rw-r--r--system-profiles/zfs.nix2
4 files changed, 10 insertions, 6 deletions
diff --git a/system-profiles/bcachefs.nix b/system-profiles/bcachefs.nix
new file mode 100644
index 00000000..65de9f7e
--- /dev/null
+++ b/system-profiles/bcachefs.nix
@@ -0,0 +1,7 @@
1{ config, pkgs, ... } : {
2 config = {
3 boot.supportedFilesystems = [ "bcachefs" ];
4
5 environment.systemPackages = with pkgs; [ bcachefs-tools ];
6 };
7}
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix
index 0859d707..6aee221f 100644
--- a/system-profiles/core/default.nix
+++ b/system-profiles/core/default.nix
@@ -102,7 +102,7 @@ in {
102 }; 102 };
103 103
104 nix = { 104 nix = {
105 package = pkgs.nixUnstable; 105 package = if builtins.hasAttr "latest" pkgs.nixVersions then pkgs.nixVersions.latest else pkgs.nixUnstable;
106 settings = { 106 settings = {
107 sandbox = true; 107 sandbox = true;
108 allowed-users = [ "*" ]; 108 allowed-users = [ "*" ];
diff --git a/system-profiles/networkmanager.nix b/system-profiles/networkmanager.nix
index 0fc25619..bc5fd5ff 100644
--- a/system-profiles/networkmanager.nix
+++ b/system-profiles/networkmanager.nix
@@ -10,10 +10,7 @@ with lib;
10 dhcp = "internal"; 10 dhcp = "internal";
11 dns = mkForce "dnsmasq"; 11 dns = mkForce "dnsmasq";
12 logLevel = "INFO"; 12 logLevel = "INFO";
13 extraConfig = '' 13 settings.connectivity.url = "https://online.yggdrasil.li";
14 [connectivity]
15 uri=https://online.yggdrasil.li
16 '';
17 }; 14 };
18 }; 15 };
19 16
diff --git a/system-profiles/zfs.nix b/system-profiles/zfs.nix
index db742801..148cbb7b 100644
--- a/system-profiles/zfs.nix
+++ b/system-profiles/zfs.nix
@@ -3,7 +3,7 @@
3 boot = { 3 boot = {
4 kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; 4 kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
5 supportedFilesystems = [ "zfs" ]; 5 supportedFilesystems = [ "zfs" ];
6 zfs.enableUnstable = true; 6 zfs.package = pkgs.zfs_unstable;
7 }; 7 };
8 8
9 environment.systemPackages = with pkgs; [ httm ]; 9 environment.systemPackages = with pkgs; [ httm ];