aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-26 13:47:55 +0200
committerSoispha <soispha@vhack.eu>2023-08-26 13:50:01 +0200
commita01a3d4f5494855abf52f42c886a75b4500f35d5 (patch)
treea94dc7022ee9be3b53dc3a897209d2086759b260 /sys
parentFeat(hm/conf/neovim/plugins/goto-preview): Init (diff)
downloadnixos-config-a01a3d4f5494855abf52f42c886a75b4500f35d5.zip
Docs(treewide): Add a colon after every "TODO"
Diffstat (limited to '')
-rw-r--r--system/disks/default.nix2
-rw-r--r--system/disks/hibernate.nix2
-rw-r--r--system/font/default.nix2
-rw-r--r--system/impermanence/default.nix2
-rw-r--r--system/libvirtd/default.nix4
-rw-r--r--system/nixpkgs/default.nix4
-rw-r--r--system/services/nix/default.nix2
-rw-r--r--system/services/xdg/default.nix4
-rw-r--r--system/tempfiles/default.nix2
-rw-r--r--system/users/default.nix2
10 files changed, 13 insertions, 13 deletions
diff --git a/system/disks/default.nix b/system/disks/default.nix
index 56fb550d..d238d89a 100644
--- a/system/disks/default.nix
+++ b/system/disks/default.nix
@@ -112,7 +112,7 @@ in {
#{
# device = "/swap/swapfile";
# priority = 1; # lower than zramSwap, just in case
- # # size = 2048; # TODO can nixos create a btrfs swapfile correctly?
+ # # size = 2048; # TODO: can nixos create a btrfs swapfile correctly?
#}
];
zramSwap = {
diff --git a/system/disks/hibernate.nix b/system/disks/hibernate.nix
index 98cc7439..b0aed423 100644
--- a/system/disks/hibernate.nix
+++ b/system/disks/hibernate.nix
@@ -1,7 +1,7 @@
{pkgs}: {
services = {
hibernate-preparation = {
- # TODO check if they work
+ # TODO: check if they work
wantedBy = ["systemd-hibernate.service"];
unitConfig = {
Description = "Enable swap file and disable zram before hibernate";
diff --git a/system/font/default.nix b/system/font/default.nix
index 3864b60e..303efcf7 100644
--- a/system/font/default.nix
+++ b/system/font/default.nix
@@ -5,7 +5,7 @@
];
};
in {
- # TODO maybe add other fonts?
+ # TODO: maybe add other fonts?
fonts = {
packages = [
nerdFont
diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix
index adbdfce2..a9be951a 100644
--- a/system/impermanence/default.nix
+++ b/system/impermanence/default.nix
@@ -20,7 +20,7 @@
[
"/etc/nixos"
"/var/log"
- # TODO the following entries need to be checked
+ # TODO: the following entries need to be checked
#"/var/lib/bluetooth"
#"/var/lib/nixos"
#"/var/lib/systemd/coredump"
diff --git a/system/libvirtd/default.nix b/system/libvirtd/default.nix
index 52366349..3b9c7d85 100644
--- a/system/libvirtd/default.nix
+++ b/system/libvirtd/default.nix
@@ -1,6 +1,6 @@
{pkgs, ...}: {
virtualisation = {
- spiceUSBRedirection.enable = true; # TODO this allows usb access to any user, which shouldn't be that bad
+ spiceUSBRedirection.enable = true; # TODO: this allows usb access to any user, which shouldn't be that bad
# cores = 8;
# diskSize = 25000;
# useEFIBoot = true;
@@ -9,7 +9,7 @@
# y = 1080;
# };
# memorySize = 8024;
- # sharedDirectories = {}; # TODO add some
+ # sharedDirectories = {}; # TODO: add some
libvirtd = {
enable = true;
qemu = {
diff --git a/system/nixpkgs/default.nix b/system/nixpkgs/default.nix
index 4f869e4a..c37d5582 100644
--- a/system/nixpkgs/default.nix
+++ b/system/nixpkgs/default.nix
@@ -3,10 +3,10 @@
system,
overlays ? [],
}: {
- # TODO inheriting system here is discouraged, localSystem or hostSystem should be inspected
+ # TODO: inheriting system here is discouraged, localSystem or hostSystem should be inspected
inherit system overlays;
config = {
- # TODO this fails because of the root tempsize, which should be increased
+ # TODO: this fails because of the root tempsize, which should be increased
#contentAddressedByDefault = true;
allowUnfreePredicate = pkg:
diff --git a/system/services/nix/default.nix b/system/services/nix/default.nix
index 491b6a4d..97b7220d 100644
--- a/system/services/nix/default.nix
+++ b/system/services/nix/default.nix
@@ -30,7 +30,7 @@ in {
#substituters = ["https://cache.ngi0.nixos.org/"];
#trusted-public-keys = ["cache.ngi0.nixos.org-1:KqH5CBLNSyX184S9BKZJo1LxrxJ9ltnY2uAs5c/f1MA="];
- fallback = true; # TODO what does this do?
+ fallback = true; # TODO: what does this do?
keep-failed = true; # keep failed tmp build dirs
pure-eval = true; # restrict file system and network access to hash
diff --git a/system/services/xdg/default.nix b/system/services/xdg/default.nix
index bb29d20c..297928ce 100644
--- a/system/services/xdg/default.nix
+++ b/system/services/xdg/default.nix
@@ -2,10 +2,10 @@
xdg = {
portal = {
enable = true;
- # TODO only enable the below, when on river (or wlr based compositor)
+ # TODO: only enable the below, when on river (or wlr based compositor)
wlr.enable = true;
extraPortals = [pkgs.xdg-desktop-portal-wlr];
};
};
- # TODO mime = {};
+ # TODO: mime = {};
}
diff --git a/system/tempfiles/default.nix b/system/tempfiles/default.nix
index 9e83fa34..2d48b02e 100644
--- a/system/tempfiles/default.nix
+++ b/system/tempfiles/default.nix
@@ -1,6 +1,6 @@
{config, ...}: {
systemd.tmpfiles.rules = [
# this file is needed to trash stuff on the temp fs
- "d /.Trash 1777 root root" # TODO move this to the lf config
+ "d /.Trash 1777 root root" # TODO: move this to the lf config
];
}
diff --git a/system/users/default.nix b/system/users/default.nix
index 3d0a693a..365ffd41 100644
--- a/system/users/default.nix
+++ b/system/users/default.nix
@@ -31,7 +31,7 @@ in {
shell = pkgs.zsh;
initialHashedPassword = cfg.hashedPassword;
extraGroups = [
- "plugdev" # although deprecated, this helps with old udev rules, that still use this group. TODO check for an open issue
+ "plugdev" # although deprecated, this helps with old udev rules, that still use this group. TODO: check for an open issue
"wheel"
];
uid = 1000;