aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-01-08 19:28:38 -0800
committerPreston Pan <ret2pop@gmail.com>2025-01-08 19:28:38 -0800
commitd8900b3f01bf98911516d39c2c96549485f54577 (patch)
treea31233d917a56babc10fed8116ff32369bf4f1a1
parenta1835a4ae9eacf8cd0379e4cd1aa768218426967 (diff)
fix email imap; start of udev optimizations
-rw-r--r--configuration.nix16
-rw-r--r--flake.lock30
-rw-r--r--home.nix23
-rw-r--r--vars.nix3
4 files changed, 37 insertions, 35 deletions
diff --git a/configuration.nix b/configuration.nix
index bf8191b..47d6140 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -46,9 +46,6 @@ in
};
boot = {
- # CHANGEME delete initrd entry
- initrd.luks.devices."luks-30d6b69f-1ec0-4111-b5d3-c0138d485a49".device = "/dev/disk/by-uuid/30d6b69f-1ec0-4111-b5d3-c0138d485a49";
-
lanzaboote = {
enable = vars.secureBoot;
pkiBundle = "/etc/secureboot";
@@ -287,11 +284,14 @@ in
};
# Misc.
- udev.packages = with pkgs; [
- platformio-core
- platformio-core.udev
- openocd
- ];
+ udev = {
+ extraRules = '''';
+ packages = with pkgs; [
+ platformio-core
+ platformio-core.udev
+ openocd
+ ];
+ };
printing.enable = true;
udisks2.enable = true;
diff --git a/flake.lock b/flake.lock
index 045430f..e25049d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -28,11 +28,11 @@
]
},
"locked": {
- "lastModified": 1735468753,
- "narHash": "sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0=",
+ "lastModified": 1736199437,
+ "narHash": "sha256-TdU0a/x8048rbbJmkKWzSY1CtsbbGKNkIJcMdr8Zf4Q=",
"owner": "nix-community",
"repo": "disko",
- "rev": "84a5b93637cc16cbfcc61b6e1684d626df61eb21",
+ "rev": "49f8aa791f81ff2402039b3efe0c35b9386c4bcf",
"type": "github"
},
"original": {
@@ -189,11 +189,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1735922141,
- "narHash": "sha256-vk0xwGZSlvZ/596yxOtsk4gxsIx2VemzdjiU8zhjgWw=",
+ "lastModified": 1736200483,
+ "narHash": "sha256-JO+lFN2HsCwSLMUWXHeOad6QUxOuwe9UOAF/iSl1J4I=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "d29ab98cd4a70a387b8ceea3e930b3340d41ac5a",
+ "rev": "3f0a8ac25fb674611b98089ca3a5dd6480175751",
"type": "github"
},
"original": {
@@ -221,11 +221,11 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1735834308,
- "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=",
+ "lastModified": 1736012469,
+ "narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "6df24922a1400241dae323af55f30e4318a6ca65",
+ "rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"type": "github"
},
"original": {
@@ -258,11 +258,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
- "lastModified": 1736022659,
- "narHash": "sha256-UeUSw27RN8pRH/ZPpjzAS9oRAJJF7y4d5BlOax+JJ/g=",
+ "lastModified": 1736293292,
+ "narHash": "sha256-pZCPRetwoosIVX7p7HVqQufGaxkY+eE3pn4/b7bhEos=",
"owner": "nix-community",
"repo": "NUR",
- "rev": "0faee956ebfa57b5c438767a21b28b7fca432368",
+ "rev": "449b0d706462c61b45c6a5328034fc442b39cd67",
"type": "github"
},
"original": {
@@ -355,11 +355,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
- "lastModified": 1735844895,
- "narHash": "sha256-CIRlqX9tBK2awJkmVu2cKuap/0QziDXStQZ/u/+e8Z4=",
+ "lastModified": 1736203741,
+ "narHash": "sha256-eSjkBwBdQk+TZWFlLbclF2rAh4JxbGg8az4w/Lfe7f4=",
"owner": "Mic92",
"repo": "sops-nix",
- "rev": "24d89184adf76d7ccc99e659dc5f3838efb5ee32",
+ "rev": "c9c88f08e3ee495e888b8d7c8624a0b2519cb773",
"type": "github"
},
"original": {
diff --git a/home.nix b/home.nix
index 024a6e7..5ae8987 100644
--- a/home.nix
+++ b/home.nix
@@ -1045,28 +1045,31 @@ on-notify=exec mpv /home/${vars.userName}/sounds/notification.wav --no-config --
epkgs.catppuccin-theme
epkgs.chatgpt-shell
epkgs.company
+ epkgs.company-solidity
epkgs.counsel
epkgs.dashboard
epkgs.doom-modeline
- epkgs.irony-eldoc
epkgs.elfeed
epkgs.elfeed-org
+ epkgs.elfeed-tube
+ epkgs.elfeed-tube-mpv
epkgs.ellama
epkgs.elpher
epkgs.ement
epkgs.emmet-mode
epkgs.emms
epkgs.enwc
- epkgs.unicode-fonts
epkgs.evil
epkgs.evil-collection
epkgs.evil-commentary
epkgs.evil-org
epkgs.f
+ epkgs.flycheck
epkgs.general
epkgs.gptel
epkgs.gruvbox-theme
epkgs.htmlize
+ epkgs.irony-eldoc
epkgs.ivy
epkgs.ivy-pass
epkgs.latex-preview-pane
@@ -1086,17 +1089,13 @@ on-notify=exec mpv /home/${vars.userName}/sounds/notification.wav --no-config --
epkgs.password-store
epkgs.pdf-tools
epkgs.pinentry
- epkgs.projectile
epkgs.platformio-mode
+ epkgs.projectile
epkgs.rustic
-
- epkgs.flycheck
- epkgs.solidity-mode
- epkgs.solidity-flycheck
- epkgs.company-solidity
-
epkgs.scad-mode
epkgs.simple-httpd
+ epkgs.solidity-flycheck
+ epkgs.solidity-mode
epkgs.sudo-edit
epkgs.treemacs
epkgs.treemacs-evil
@@ -1104,13 +1103,14 @@ on-notify=exec mpv /home/${vars.userName}/sounds/notification.wav --no-config --
epkgs.treemacs-projectile
epkgs.treesit-auto
epkgs.typescript-mode
+ epkgs.unicode-fonts
epkgs.use-package
epkgs.vterm
- epkgs.writeroom-mode
epkgs.web-mode
epkgs.websocket
epkgs.which-key
epkgs.writegood-mode
+ epkgs.writeroom-mode
epkgs.yasnippet
epkgs.yasnippet-snippets
];
@@ -1122,7 +1122,7 @@ on-notify=exec mpv /home/${vars.userName}/sounds/notification.wav --no-config --
extraConfig = ''
IMAPAccount ret2pop
Host ${vars.imapsServer}
- User ${vars.userName}
+ User ${vars.email}
PassCmd "pass Mail"
Port 993
TLSType IMAPS
@@ -1245,6 +1245,7 @@ on-notify=exec mpv /home/${vars.userName}/sounds/notification.wav --no-config --
"workspace 3, ^(.*fluffychat.*)$"
"workspace 3, ^(.*element-desktop.*)$"
"workspace 4, ^(.*qpwgraph.*)$"
+ "workspace 4, ^(.*mpv.*)$"
"workspace 5, ^(.*Monero.*)$"
"workspace 5, ^(.*org\.bitcoin\..*)$"
"workspace 5, ^(.*Bitcoin Core - preston.*)$"
diff --git a/vars.nix b/vars.nix
index 3243438..d221dd2 100644
--- a/vars.nix
+++ b/vars.nix
@@ -36,6 +36,7 @@
"eDP-1"
"DP-2"
"DP-3"
+ "LVDS-1"
];
# enable video drivers based on your system.
@@ -50,5 +51,5 @@
# use false if this is your first install of continuity.
# See https://github.com/nix-community/lanzaboote/blob/master/docs/QUICK_START.md
# for more information.
- secureBoot = true;
+ secureBoot = false;
}