WIP
- add & use iosevka instead of firacode - change doom theme to gruvbox-dark - add some tramp config - remove doom workspaces to improve centaur-tabs - add tree-sitter to doom layers where possible - mount work smb shares - add adb tools - change to stable firefox from beta - various other stuff
This commit is contained in:
parent
9794a06c70
commit
d71e942e57
12 changed files with 117 additions and 57 deletions
2
NOTES.md
2
NOTES.md
|
@ -1,5 +1,7 @@
|
||||||
# ToDo's
|
# ToDo's
|
||||||
|
|
||||||
|
- Investigate https://crane.dev/examples/quick-start-simple.html for ruszt builds
|
||||||
|
- https://nix.dev/tutorials/packaging-existing-software
|
||||||
- this looks awesome: https://github.com/erictossell/nixflakes/tree/main
|
- this looks awesome: https://github.com/erictossell/nixflakes/tree/main
|
||||||
- https://nixos.wiki/wiki/Binary_Cache
|
- https://nixos.wiki/wiki/Binary_Cache
|
||||||
- build a good abstraction for systems
|
- build a good abstraction for systems
|
||||||
|
|
|
@ -24,10 +24,10 @@
|
||||||
|
|
||||||
(setq nerd-icons-font-names '("SymbolsNerdFontMono-Regular.ttf"))
|
(setq nerd-icons-font-names '("SymbolsNerdFontMono-Regular.ttf"))
|
||||||
|
|
||||||
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 14)
|
(setq doom-font (font-spec :family "Iosevka Nerd Font Mono" :size 14)
|
||||||
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13)
|
doom-variable-pitch-font (font-spec :family "Iosevka Nerd Font Propo" :size 14)
|
||||||
;; doom-symbol-font (font-spec :family "all-the-icons" :size 13)
|
;; doom-symbol-font (font-spec :family "all-the-icons" :size 13)
|
||||||
doom-big-font (font-spec :family "FiraCode Nerd Font" :size 18 :weight 'demibold))
|
doom-big-font (font-spec :family "Iosevka Nerd Font Mono" :size 18 :weight 'demibold))
|
||||||
|
|
||||||
(defun add-back-emoji-fallback-font-families ()
|
(defun add-back-emoji-fallback-font-families ()
|
||||||
(when (fboundp 'set-fontset-font)
|
(when (fboundp 'set-fontset-font)
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
;; `load-theme' function. This is the default:
|
;; `load-theme' function. This is the default:
|
||||||
(setq doom-theme 'doom-one)
|
(setq doom-theme 'doom-gruvbox)
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
|
@ -88,6 +88,21 @@
|
||||||
;;
|
;;
|
||||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
|
;; TRAMP
|
||||||
|
|
||||||
|
|
||||||
|
;; (add-to-list 'tramp-connection-properties
|
||||||
|
;; (list (regexp-quote "/sshx:user@host:")
|
||||||
|
;; "remote-shell" "/usr/bin/fish"))
|
||||||
|
;;
|
||||||
|
;; (eval-after-load 'tramp
|
||||||
|
;; '((setenv "SHELL" "/run/current-system/sw/bin/fish")
|
||||||
|
;; (setenv "ESHELL" "/run/current-system/sw/bin/fish")
|
||||||
|
;; (add-to-list 'tramp-remote-path
|
||||||
|
;; "/run/current-system/sw/bin")
|
||||||
|
;; )
|
||||||
|
;; )
|
||||||
|
;; (setq! tramp-default-method "ssh")
|
||||||
|
|
||||||
;; rust
|
;; rust
|
||||||
(setq! lsp-inlay-hint-enable t)
|
(setq! lsp-inlay-hint-enable t)
|
||||||
|
@ -187,6 +202,10 @@ You are an intelligent programming assistant."
|
||||||
|
|
||||||
|
|
||||||
;; TABS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; TABS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
(setq! uniquify-separator "/")
|
||||||
|
(setq! uniquify-buffer-name-style 'forward)
|
||||||
|
|
||||||
(use-package centaur-tabs
|
(use-package centaur-tabs
|
||||||
:init
|
:init
|
||||||
(setq centaur-tabs-enable-key-bindings t)
|
(setq centaur-tabs-enable-key-bindings t)
|
||||||
|
@ -201,10 +220,10 @@ You are an intelligent programming assistant."
|
||||||
centaur-tabs-gray-out-icons 'buffer
|
centaur-tabs-gray-out-icons 'buffer
|
||||||
x-underline-at-descent-line t
|
x-underline-at-descent-line t
|
||||||
centaur-tabs-set-modified-marker t
|
centaur-tabs-set-modified-marker t
|
||||||
centaur-tabs-modified-marker "•"
|
centaur-tabs-modified-marker "•"
|
||||||
centaur-tabs-close-button "x"
|
centaur-tabs-close-button "x"
|
||||||
centaur-tabs-cycle-scope 'tabs
|
centaur-tabs-cycle-scope 'tabs
|
||||||
centaur-tabs-adjust-buffer-order t
|
centaur-tabs-adjust-buffer-order t
|
||||||
centaur-tabs-left-edge-margin nil)
|
centaur-tabs-left-edge-margin nil)
|
||||||
|
|
||||||
(centaur-tabs-change-fonts (face-attribute 'default :font) 110)
|
(centaur-tabs-change-fonts (face-attribute 'default :font) 110)
|
||||||
|
@ -212,8 +231,6 @@ You are an intelligent programming assistant."
|
||||||
(centaur-tabs-group-by-projectile-project)
|
(centaur-tabs-group-by-projectile-project)
|
||||||
;; (centaur-tabs-enable-buffer-alphabetical-reordering)
|
;; (centaur-tabs-enable-buffer-alphabetical-reordering)
|
||||||
(centaur-tabs-mode t)
|
(centaur-tabs-mode t)
|
||||||
(setq uniquify-separator "/")
|
|
||||||
(setq uniquify-buffer-name-style 'forward)
|
|
||||||
|
|
||||||
|
|
||||||
(defvar categories-alist
|
(defvar categories-alist
|
||||||
|
@ -305,7 +322,7 @@ You are an intelligent programming assistant."
|
||||||
(buffer-string)))
|
(buffer-string)))
|
||||||
|
|
||||||
(defalias 'my/codeium-complete
|
(defalias 'my/codeium-complete
|
||||||
(cape-interacive-capf #'codeium-completion-at-point))
|
(cape-interactive-capf #'codeium-completion-at-point))
|
||||||
|
|
||||||
(map! :localleader
|
(map! :localleader
|
||||||
:map evil-normal-state-map
|
:map evil-normal-state-map
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
(window-select ; visually switch windows
|
(window-select ; visually switch windows
|
||||||
+numbers)
|
+numbers)
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
;; workspaces ; tab emulation, persistence & separate workspaces
|
||||||
;;zen ; distraction-free coding or writing
|
;;zen ; distraction-free coding or writing
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
|
@ -191,7 +191,10 @@
|
||||||
+tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
+tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
(sh +tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor
|
(sh
|
||||||
|
+fish
|
||||||
|
+lsp
|
||||||
|
+tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
;;sml
|
;;sml
|
||||||
;;solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
|
@ -202,7 +205,7 @@
|
||||||
+tree-sitter) ; the tubes
|
+tree-sitter) ; the tubes
|
||||||
(yaml
|
(yaml
|
||||||
+tree-sitter
|
+tree-sitter
|
||||||
+lsp) ; JSON, but readable
|
+lsp) ; JSON, but readable
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
|
|
54
flake.lock
generated
54
flake.lock
generated
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699781810,
|
"lastModified": 1700927249,
|
||||||
"narHash": "sha256-LD+PIUbm1yQmQmGIbSsc/PB1dtJtGqXFgxRc1C7LlfQ=",
|
"narHash": "sha256-iqmIWiEng890/ru7ZBf4nUezFPyRm2fjRTvuwwxqk2o=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "2d7d77878c5d70f66f3d676ff66708d8d4f9d7df",
|
"rev": "3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -31,11 +31,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699812904,
|
"lastModified": 1701051730,
|
||||||
"narHash": "sha256-+74SKAZrAFMytXfn0O1Sd5/bIl8OV+XxfjkXuGYqbYo=",
|
"narHash": "sha256-4N3Fm36LSbNQwJkWcem3xzZ4klb39IaKdKeu6Xr2opM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "87219c6667c12e5f4442d27c073b9c56dbf0c95e",
|
"rev": "14bfb2ab205d5040420b4daf90a69f9e169fdb2a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -138,11 +138,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699748081,
|
"lastModified": 1700392168,
|
||||||
"narHash": "sha256-MOmMapBydd7MTjhX4eeQZzKlCABWw8W6iSHSG4OeFKE=",
|
"narHash": "sha256-v5LprEFx3u4+1vmds9K0/i7sHjT0IYGs7u9v54iz/OA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "04bac349d585c9df38d78e0285b780a140dc74a4",
|
"rev": "28535c3a34d79071f2ccb68671971ce0c0984d7e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -159,11 +159,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699760693,
|
"lastModified": 1700968077,
|
||||||
"narHash": "sha256-u/gkNUHQR/q23voqE5J4xmEWQIAqR+g3lUnCtzn0k7Y=",
|
"narHash": "sha256-Lax+2g7G3Fe+ckMrHLYTl+97unbmNDmN1qS9MLBkxr4=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "8aff4ca3dee60d1422489fe8d52c2f837b3ad113",
|
"rev": "bd3aec0ecb0fdde863a7ed2c6caa220c47e22c07",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -216,11 +216,11 @@
|
||||||
},
|
},
|
||||||
"nixos-unstable": {
|
"nixos-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699099776,
|
"lastModified": 1700794826,
|
||||||
"narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=",
|
"narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb",
|
"rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -232,11 +232,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699596684,
|
"lastModified": 1700989516,
|
||||||
"narHash": "sha256-XSXP8zjBZJBVvpNb2WmY0eW8O2ce+sVyj1T0/iBRIvg=",
|
"narHash": "sha256-oKbmPa2wpTHh9XB3+zIx97uMZGNnp97GPliKKG2/plo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "da4024d0ead5d7820f6bd15147d3fe2a0c0cec73",
|
"rev": "d2e4de209881b38392933fabf303cde3454b0b4c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -264,11 +264,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699725108,
|
"lastModified": 1701040486,
|
||||||
"narHash": "sha256-NTiPW4jRC+9puakU4Vi8WpFEirhp92kTOSThuZke+FA=",
|
"narHash": "sha256-vawYwoHA5CwvjfqaT3A5CT9V36Eq43gxdwpux32Qkjw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "911ad1e67f458b6bcf0278fa85e33bb9924fed7e",
|
"rev": "45827faa2132b8eade424f6bdd48d8828754341a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -296,11 +296,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699837452,
|
"lastModified": 1701074228,
|
||||||
"narHash": "sha256-aUg0+0MOPgDZtyDa4kcTLC7+zpnQWb5B3k9THN0uAOc=",
|
"narHash": "sha256-uCgX8pNMzAp7zKAUAA509U1WNRMV/iL+wEWynnUY12o=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "4cd37582b4d49983cf61ef3789f9dc58ff4a54f1",
|
"rev": "7a780b49e43f5318aa23956cbe5ab7478a9793d1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -319,11 +319,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1699638264,
|
"lastModified": 1700267030,
|
||||||
"narHash": "sha256-EGT10Ig8OFUY5T0nwnNuLa4z++yjaqfSQT/5Tyo1Z60=",
|
"narHash": "sha256-1ke+7xrkCVOI13RJ1w6EjCGcJywkN3bbTKbLWAt4jaE=",
|
||||||
"owner": "pjones",
|
"owner": "pjones",
|
||||||
"repo": "plasma-manager",
|
"repo": "plasma-manager",
|
||||||
"rev": "56c325e68d69b9682bcb1be99650b6c28bedb93d",
|
"rev": "019a8fd22a26c8d59f63aa9cc8a9c1729d6ffbda",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -21,6 +21,7 @@ in
|
||||||
|
|
||||||
packages = with pkgs.unstable-pkgs; [
|
packages = with pkgs.unstable-pkgs; [
|
||||||
airshipper
|
airshipper
|
||||||
|
ardour
|
||||||
blender
|
blender
|
||||||
bitwarden
|
bitwarden
|
||||||
brave
|
brave
|
||||||
|
@ -30,11 +31,13 @@ in
|
||||||
element-desktop
|
element-desktop
|
||||||
inkscape
|
inkscape
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
|
miraclecast
|
||||||
kate
|
kate
|
||||||
krita
|
krita
|
||||||
libsForQt5.kdeconnect-kde
|
libsForQt5.kdeconnect-kde
|
||||||
libsForQt5.plasma-vault
|
libsForQt5.plasma-vault
|
||||||
libsForQt5.plasma-browser-integration
|
libsForQt5.plasma-browser-integration
|
||||||
|
natron
|
||||||
neofetch
|
neofetch
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
onlyoffice-bin
|
onlyoffice-bin
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
}: {
|
}: {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.unstable-pkgs.firefox-beta;
|
package = pkgs.unstable-pkgs.firefox;
|
||||||
|
|
||||||
profiles = {
|
profiles = {
|
||||||
default = {
|
default = {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
workspace.theme = "breeze-dark";
|
||||||
shortcuts = {
|
shortcuts = {
|
||||||
"KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+Alt+K";
|
"KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+Alt+K";
|
||||||
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
|
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
|
||||||
|
@ -154,7 +155,7 @@
|
||||||
"kdeglobals"."General"."LastUsedCustomAccentColor" = "233,100,58";
|
"kdeglobals"."General"."LastUsedCustomAccentColor" = "233,100,58";
|
||||||
"kdeglobals"."General"."XftHintStyle" = "hintmedium";
|
"kdeglobals"."General"."XftHintStyle" = "hintmedium";
|
||||||
"kdeglobals"."General"."XftSubPixel" = "rgb";
|
"kdeglobals"."General"."XftSubPixel" = "rgb";
|
||||||
"kdeglobals"."General"."fixed" = "FiraCode Nerd Font,10,-1,5,50,0,0,0,0,0";
|
"kdeglobals"."General"."fixed" = "Iosevka Nerd Font Mono,10,-1,5,50,0,0,0,0,0";
|
||||||
"kdeglobals"."KDE"."AnimationDurationFactor" = 0.250000;
|
"kdeglobals"."KDE"."AnimationDurationFactor" = 0.250000;
|
||||||
"kdeglobals"."KDE"."widgetStyle" = "Breeze";
|
"kdeglobals"."KDE"."widgetStyle" = "Breeze";
|
||||||
"kdeglobals"."KFileDialog Settings"."Allow Expansion" = false;
|
"kdeglobals"."KFileDialog Settings"."Allow Expansion" = false;
|
||||||
|
|
|
@ -15,10 +15,11 @@ let
|
||||||
ref = "main";
|
ref = "main";
|
||||||
rev = "c7392136bed264258c9b8788b14410e1ff06d602";
|
rev = "c7392136bed264258c9b8788b14410e1ff06d602";
|
||||||
};
|
};
|
||||||
myEmacs = (pkgs.emacsPackagesFor pkgs.emacs-pgtk).emacsWithPackages (epkgs: with epkgs; [
|
myEmacs = (pkgs.emacsPackagesFor pkgs.emacs-pgtk).emacsWithPackages (epkgs:
|
||||||
vterm
|
with epkgs; [
|
||||||
treesit-grammars.with-all-grammars
|
vterm
|
||||||
]);
|
treesit-grammars.with-all-grammars
|
||||||
|
]);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -118,9 +119,9 @@ in
|
||||||
user = "root";
|
user = "root";
|
||||||
identityFile = "~/.ssh/id_v81_ed25519";
|
identityFile = "~/.ssh/id_v81_ed25519";
|
||||||
};
|
};
|
||||||
"desk-arch" = {
|
"nixos-desk" = {
|
||||||
host = "desk-arch";
|
host = "nixos-desk";
|
||||||
hostname = "tristan-desk-arch";
|
hostname = "nixos-desk";
|
||||||
user = "tristand";
|
user = "tristand";
|
||||||
identityFile = "~/.ssh/id_v81_ed25519";
|
identityFile = "~/.ssh/id_v81_ed25519";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# WARN: this file will get overwritten by $ cachix use <name>
|
# WARN: this file will get overwritten by $ cachix use <name>
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs
|
||||||
|
, lib
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
folder = ./caches;
|
folder = ./caches;
|
||||||
toImport = name: value: folder + ("/" + name);
|
toImport = name: value: folder + ("/" + name);
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
mplus-outline-fonts.githubRelease
|
mplus-outline-fonts.githubRelease
|
||||||
dina-font
|
dina-font
|
||||||
proggyfonts
|
proggyfonts
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "NerdFontsSymbolsOnly" ]; })
|
(nerdfonts.override { fonts = [ "Iosevka" "IosevkaTerm" "FiraCode" "DroidSansMono" "NerdFontsSymbolsOnly" ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|
|
@ -5,9 +5,13 @@
|
||||||
}: {
|
}: {
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
networking.nameservers = [
|
networking.nameservers = [
|
||||||
"23.88.68.113#dns.vlt81.de"
|
"1.1.1.1#one.one.one.one"
|
||||||
"2a01:4f8:272:5917::baad:c0de#dns.vlt81.de"
|
"1.0.0.1#one.one.one.one"
|
||||||
"100.64.0.8#dns.vlt81.de"
|
"100.64.0.8#dns.vlt81.de"
|
||||||
|
# "23.88.68.113#dns.vlt81.de"
|
||||||
|
# "2a01:4f8:272:5917::baad:c0de#dns.vlt81.de"
|
||||||
|
# "45.90.28.0#921984.dns.nextdns.io"
|
||||||
|
# "45.90.30.0#921984.dns.nextdns.io"
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -16,12 +20,12 @@
|
||||||
dnssec = "true";
|
dnssec = "true";
|
||||||
domains = [ "~." ];
|
domains = [ "~." ];
|
||||||
fallbackDns = [
|
fallbackDns = [
|
||||||
|
# "1.1.1.1#one.one.one.one"
|
||||||
|
# "1.0.0.1#one.one.one.one"
|
||||||
"45.90.28.0#921984.dns.nextdns.io"
|
"45.90.28.0#921984.dns.nextdns.io"
|
||||||
"45.90.30.0#921984.dns.nextdns.io"
|
"45.90.30.0#921984.dns.nextdns.io"
|
||||||
"2a07:a8c0::#921984.dns.nextdns.io"
|
"2a07:a8c0::#921984.dns.nextdns.io"
|
||||||
"2a07:a8c1::#921984.dns.nextdns.io"
|
"2a07:a8c1::#921984.dns.nextdns.io"
|
||||||
"1.1.1.1#one.one.one.one"
|
|
||||||
"1.0.0.1#one.one.one.one"
|
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
DNSOverTLS=yes
|
DNSOverTLS=yes
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
../../os-mods/amdgpu
|
../../os-mods/amdgpu
|
||||||
|
../../os-mods/cachix
|
||||||
../../os-mods/common
|
../../os-mods/common
|
||||||
../../os-mods/desktop
|
../../os-mods/desktop
|
||||||
../../os-mods/network
|
../../os-mods/network
|
||||||
|
@ -83,6 +84,29 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/ServerF" = {
|
||||||
|
# device = "//srv-nas-01.local/Server_F";
|
||||||
|
device = "//192.168.0.1/Server_F";
|
||||||
|
fsType = "cifs";
|
||||||
|
options =
|
||||||
|
let
|
||||||
|
# this line prevents hanging on network split
|
||||||
|
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||||
|
in
|
||||||
|
[ "${automount_opts},vers=2.0,credentials=/home/tristand/.smb-secrets" ];
|
||||||
|
};
|
||||||
|
fileSystems."/mnt/Scans" = {
|
||||||
|
# device = "//srv-nas-01.local/Server_F";
|
||||||
|
device = "//192.168.0.1/Scans";
|
||||||
|
fsType = "cifs";
|
||||||
|
options =
|
||||||
|
let
|
||||||
|
# this line prevents hanging on network split
|
||||||
|
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||||
|
in
|
||||||
|
[ "${automount_opts},vers=2.0,credentials=/home/tristand/.smb-secrets" ];
|
||||||
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
services = {
|
services = {
|
||||||
# This manually configures the automatically created network-adresses service to be more flexible
|
# This manually configures the automatically created network-adresses service to be more flexible
|
||||||
|
@ -102,6 +126,7 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.power-profiles-daemon.enable = true;
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
ACTION=="add", KERNEL=="enp5s0f4u1u1c2", TAG+="systemd", ENV{SYSTEMD_WANTS}="network-addresses-enp5s0f4u1u1c2.service"
|
ACTION=="add", KERNEL=="enp5s0f4u1u1c2", TAG+="systemd", ENV{SYSTEMD_WANTS}="network-addresses-enp5s0f4u1u1c2.service"
|
||||||
ACTION=="remove", KERNEL=="enp5s0f4u1u1c2", RUN+="${pkgs.systemd}/bin/systemctl stop network-addresses-enp5s0f4u1u1c2.service"
|
ACTION=="remove", KERNEL=="enp5s0f4u1u1c2", RUN+="${pkgs.systemd}/bin/systemctl stop network-addresses-enp5s0f4u1u1c2.service"
|
||||||
|
@ -110,6 +135,8 @@
|
||||||
# energy saving stuff
|
# energy saving stuff
|
||||||
powerManagement.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs.unstable-os; [ android-tools android-udev-rules ];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
i2c.enable = true;
|
i2c.enable = true;
|
||||||
tuxedo-control-center = {
|
tuxedo-control-center = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue