Compare commits
97
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6df7fcacbb | ||
|
|
bc11b464a8
|
||
|
|
0ac9b45286 | ||
|
|
55e12b2226 | ||
|
|
eab8f4974e
|
||
|
|
0b1190a257
|
||
|
|
62954a67b5
|
||
|
|
37d44b64c1 | ||
|
|
cb5dd91550
|
||
|
|
fb04de1d23 | ||
|
|
f41387e451
|
||
|
|
2ae9d451f5 | ||
|
|
3feb6d2367
|
||
|
|
41fbb67fc9 | ||
|
|
b15968b004
|
||
|
|
274c39b213 | ||
|
|
2a3c439993
|
||
|
|
a2e9ad6035 | ||
|
|
6fdde12804
|
||
|
|
32291e63bb | ||
|
|
0e681ec0e2
|
||
|
|
0ce944b327 | ||
|
|
046a17374b
|
||
|
|
626015db9f | ||
|
|
dfc2a1ca3a
|
||
|
|
e41d02abcc
|
||
|
|
ec79afe982
|
||
|
|
536d4df5e4 | ||
|
|
3bd71bb5e1
|
||
|
|
d7ac5923ff | ||
|
|
dab8e42797
|
||
|
|
cd905df8b4
|
||
|
|
c20c9c0601
|
||
|
|
853a7cfb17
|
||
|
|
596b58fab4
|
||
|
|
a58319e08d
|
||
|
|
79b24d9439
|
||
|
|
b295a9a330
|
||
|
|
29db6af86b
|
||
|
|
9d7efb69ac
|
||
|
|
bf5de3872f | ||
|
|
7577e39c88
|
||
|
|
47fb9e7f97
|
||
|
|
098b92ae45
|
||
|
|
b987dcf0c6
|
||
|
|
0c6c2dd71b
|
||
|
|
a329e21711 | ||
|
|
91f3e0425b
|
||
|
|
85fa00a2e1 | ||
|
|
1d558f3f7c
|
||
|
|
ddaeb1beff | ||
|
|
5e3867b227
|
||
|
|
7f58c16441 | ||
|
|
2edc62ff13
|
||
|
|
27fb719555
|
||
|
|
5ab603b726 | ||
|
|
a3e09d0019
|
||
|
|
ae895dc55f
|
||
|
|
cb0645dd81
|
||
|
|
0daf4eec9a | ||
|
|
59a83f550c
|
||
|
|
6ceaf560ca | ||
|
|
553d748f91
|
||
|
|
fac89ff665 | ||
|
|
af42bdc7a3
|
||
|
|
45ae50d7a5
|
||
|
|
965de98adb
|
||
|
|
53c39bb8f8 | ||
|
|
e1a06eee71
|
||
|
|
8605bf7a6b
|
||
|
|
8b275aac66 | ||
|
|
31806ca62d
|
||
|
|
738dc4d8bd | ||
|
|
3fd7fba7f9
|
||
|
|
56231797cc
|
||
|
|
b1cf8a9d7f | ||
|
|
1afbb9115f
|
||
|
|
e0e2d99951
|
||
|
|
a6034ee47a
|
||
|
|
975bccfe5f
|
||
|
|
9db2c9d76e
|
||
|
|
8f1cc582e9
|
||
|
|
ae5276444e | ||
|
|
393c4ccfc5
|
||
|
|
6dcbe4e7c7 | ||
|
|
ee127abe7e
|
||
|
|
a14e5b5a77
|
||
|
|
69ca1dbaca
|
||
|
|
c38d3ec7b8 | ||
|
|
d5d6488761
|
||
|
|
e0e282a547
|
||
|
|
9f0ee40cc3 | ||
|
|
68fc3a2df2
|
||
|
|
5dfc62fc83 | ||
|
|
1b82de5c92
|
||
|
|
c1d1fb7793
|
||
|
|
e6bc267161 |
Generated
+20
-80
@@ -8,11 +8,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769996383,
|
"lastModified": 1782949081,
|
||||||
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
|
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
|
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -28,11 +28,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774584114,
|
"lastModified": 1785958398,
|
||||||
"narHash": "sha256-uWR9fC+4NykFJVn4GN4Ini9LX+w8Llj7BnWKKp0N6bw=",
|
"narHash": "sha256-5r/JgsoNMTx+qIh83WkxpujEKBR7PF5ssnh5vYCuSAw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4b1be5c38be350ee9452a4847945ce71d950dc31",
|
"rev": "a7c70cc290290f373f50cd820403833d250459ac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -43,11 +43,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774386573,
|
"lastModified": 1785967620,
|
||||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
"narHash": "sha256-IItrdb7Puk05RqOBWZYFC5X6Wl1sJmCfh5MWVHw5iMM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
"rev": "b7c2ada94fe99c15b0dbcf4d11fd7850b957a436",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -66,11 +66,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774309640,
|
"lastModified": 1785763201,
|
||||||
"narHash": "sha256-8oWL7YLwElBY9ebYri1LlSlhf/gd1Qoqj0nbBwG2yso=",
|
"narHash": "sha256-wA373y/B9orM3HatLu9oS+Ke5lmdZyBl/bdjd2gLMq4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "28c58bf023bf537354f78d6e496a349d7a0ed554",
|
"rev": "c7be49306b23a952c0151cf4bbeacd944ed82f2a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -83,15 +83,14 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"noctalia-qs": "noctalia-qs"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1774574060,
|
"lastModified": 1786013897,
|
||||||
"narHash": "sha256-1aPBtIO74L/S4ymQ//qgWJfjknjpAlKEPULOL833wOc=",
|
"narHash": "sha256-u14Iaus6ROW6IWQUNGZ/IZJ3TcIUs1ngxn5sUMNnwMM=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "f19a19cfc6dcf2cd73b1d9d11460cbe363b0c967",
|
"rev": "0247e4c5e5268f8c2a5658b60b97cb5f2eca7766",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -100,29 +99,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"noctalia-qs": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"noctalia",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"systems": "systems_2",
|
|
||||||
"treefmt-nix": "treefmt-nix"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1774556355,
|
|
||||||
"narHash": "sha256-N131zILQ06ZNEvtgtjjFZ0N5qEI70rKKhCZsBcZoDH8=",
|
|
||||||
"owner": "noctalia-dev",
|
|
||||||
"repo": "noctalia-qs",
|
|
||||||
"rev": "070340934ca374bc770fd500a0fd7b3210f06b1c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "noctalia-dev",
|
|
||||||
"repo": "noctalia-qs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
@@ -133,55 +109,19 @@
|
|||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1774449309,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=",
|
||||||
"owner": "nix-systems",
|
"owner": "nix-systems",
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
"rev": "c29398b59d2048c4ab79345812849c9bd15e9150",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-systems",
|
"owner": "nix-systems",
|
||||||
|
"ref": "future-26.11",
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"systems_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1689347949,
|
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default-linux",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"noctalia",
|
|
||||||
"noctalia-qs",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1772660329,
|
|
||||||
"narHash": "sha256-IjU1FxYqm+VDe5qIOxoW+pISBlGvVApRjiw/Y/ttJzY=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "3710e0e1218041bbad640352a0440114b1e10428",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -2,11 +2,16 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
../../modules/nixos/appimage.nix
|
||||||
|
../../modules/nixos/astro.nix
|
||||||
../../modules/nixos/audio.nix
|
../../modules/nixos/audio.nix
|
||||||
../../modules/nixos/bootloader.nix
|
../../modules/nixos/bootloader.nix
|
||||||
|
../../modules/nixos/calibre.nix
|
||||||
../../modules/nixos/certificates.nix
|
../../modules/nixos/certificates.nix
|
||||||
|
../../modules/nixos/claudecode.nix
|
||||||
../../modules/nixos/drives.nix
|
../../modules/nixos/drives.nix
|
||||||
../../modules/nixos/gnupg.nix
|
../../modules/nixos/gnupg.nix
|
||||||
|
../../modules/nixos/gnuradio.nix
|
||||||
../../modules/nixos/graphics.nix
|
../../modules/nixos/graphics.nix
|
||||||
../../modules/nixos/greetd.nix
|
../../modules/nixos/greetd.nix
|
||||||
../../modules/nixos/locales.nix
|
../../modules/nixos/locales.nix
|
||||||
@@ -19,7 +24,9 @@
|
|||||||
../../modules/nixos/services.nix
|
../../modules/nixos/services.nix
|
||||||
../../modules/nixos/settings.nix
|
../../modules/nixos/settings.nix
|
||||||
../../modules/nixos/steam.nix
|
../../modules/nixos/steam.nix
|
||||||
|
../../modules/nixos/thunar.nix
|
||||||
../../modules/nixos/users.nix
|
../../modules/nixos/users.nix
|
||||||
|
../../modules/nixos/vial.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# set hostname
|
# set hostname
|
||||||
|
|||||||
@@ -2,9 +2,12 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
../../modules/nixos/appimage.nix
|
||||||
|
../../modules/nixos/astro.nix
|
||||||
../../modules/nixos/audio.nix
|
../../modules/nixos/audio.nix
|
||||||
../../modules/nixos/bootloader.nix
|
../../modules/nixos/bootloader.nix
|
||||||
../../modules/nixos/certificates.nix
|
../../modules/nixos/certificates.nix
|
||||||
|
../../modules/nixos/claudecode.nix
|
||||||
../../modules/nixos/docker.nix
|
../../modules/nixos/docker.nix
|
||||||
../../modules/nixos/gnupg.nix
|
../../modules/nixos/gnupg.nix
|
||||||
../../modules/nixos/locales.nix
|
../../modules/nixos/locales.nix
|
||||||
@@ -13,11 +16,13 @@
|
|||||||
../../modules/nixos/noctalia.nix
|
../../modules/nixos/noctalia.nix
|
||||||
../../modules/nixos/openssh.nix
|
../../modules/nixos/openssh.nix
|
||||||
../../modules/nixos/packages.nix
|
../../modules/nixos/packages.nix
|
||||||
|
../../modules/nixos/protonvpn.nix
|
||||||
../../modules/nixos/sddm.nix
|
../../modules/nixos/sddm.nix
|
||||||
../../modules/nixos/services.nix
|
../../modules/nixos/services.nix
|
||||||
../../modules/nixos/settings.nix
|
../../modules/nixos/settings.nix
|
||||||
../../modules/nixos/steam.nix
|
../../modules/nixos/steam.nix
|
||||||
../../modules/nixos/users.nix
|
../../modules/nixos/users.nix
|
||||||
|
../../modules/nixos/vial.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# set hostname
|
# set hostname
|
||||||
|
|||||||
@@ -2,10 +2,19 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
globals.mapleader = " ";
|
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = false;
|
|
||||||
|
# We keep `inputs.nixvim.inputs.nixpkgs.follows = "nixpkgs"` in flake.nix so
|
||||||
|
# the whole config shares a single nixpkgs. Setting `source` explicitly to
|
||||||
|
# that same nixpkgs acknowledges the override and silences nixvim's warning
|
||||||
|
# about its pinned nixpkgs being bypassed.
|
||||||
|
nixpkgs.source = inputs.nixpkgs;
|
||||||
|
|
||||||
|
# set aliases
|
||||||
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
||||||
|
# default vim options
|
||||||
opts = {
|
opts = {
|
||||||
number = true;
|
number = true;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
@@ -14,14 +23,81 @@
|
|||||||
expandtab = true;
|
expandtab = true;
|
||||||
incsearch = true;
|
incsearch = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# nvim mapleader for all command below
|
||||||
|
globals.mapleader = " ";
|
||||||
|
# set colorscheme to nord
|
||||||
colorschemes.nord.enable = true;
|
colorschemes.nord.enable = true;
|
||||||
|
|
||||||
|
# nvim plugins
|
||||||
|
plugins.indent-blankline.enable = true;
|
||||||
plugins.lualine.enable = true;
|
plugins.lualine.enable = true;
|
||||||
plugins.nix.enable = true;
|
plugins.nix.enable = true;
|
||||||
plugins.nvim-tree.enable = true;
|
plugins.nvim-tree.enable = true;
|
||||||
plugins.treesitter.enable = true;
|
|
||||||
plugins.telescope.enable = true;
|
|
||||||
plugins.web-devicons.enable = true;
|
plugins.web-devicons.enable = true;
|
||||||
plugins.indent-blankline.enable = true;
|
plugins.telescope = {
|
||||||
extraPlugins = [ pkgs.vimPlugins.plenary-nvim ];
|
enable = true;
|
||||||
|
keymaps = {
|
||||||
|
"<leader>ff" = "find_files";
|
||||||
|
"<leader>fg" = "live_grep";
|
||||||
|
"<leader>fb" = "buffers";
|
||||||
|
"<leader>fh" = "help_tags";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
plugins.lsp = {
|
||||||
|
enable = true;
|
||||||
|
servers.tinymist = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
formatterMode = "typstyle";
|
||||||
|
exportPdf = "onSave";
|
||||||
|
semanticTokens = "disable"; # treesitter handles highlighting better
|
||||||
|
};
|
||||||
|
};
|
||||||
|
servers.pyright.enable = true;
|
||||||
|
servers.ruff.enable = true;
|
||||||
|
keymaps.lspBuf = {
|
||||||
|
"<leader>K" = "hover";
|
||||||
|
"<leader>gd" = "definition";
|
||||||
|
"<leader>gr" = "references";
|
||||||
|
"<leader>f" = "format";
|
||||||
|
"<leader>rn" = "rename";
|
||||||
|
"<leader>ca" = "code_action";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
plugins.treesitter = {
|
||||||
|
enable = true;
|
||||||
|
settings.ensure_installed = [ "markdown" "markdown_inline" "typst" ];
|
||||||
|
};
|
||||||
|
plugins.typst-preview = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
open_cmd = "firefox %s";
|
||||||
|
dependencies_bin = {
|
||||||
|
tinymist = "tinymist";
|
||||||
|
websocat = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
plugins.typst-vim = {
|
||||||
|
enable = true;
|
||||||
|
settings.pdf_viewer = "zathura";
|
||||||
|
};
|
||||||
|
plugins.render-markdown = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# render in normal mode, raw source in insert
|
||||||
|
render_modes = [ "n" "c" "t"];
|
||||||
|
pipe_table.preset = "round";
|
||||||
|
heading.width = "block";
|
||||||
|
file_types = [ "markdown" ];
|
||||||
|
completions.lsp.enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# install dependencies
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
ripgrep
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,123 @@
|
|||||||
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Noctalia v5 shell, managed via its upstream home-manager module.
|
||||||
|
# See https://docs.noctalia.dev/v5/getting-started/nixos/
|
||||||
|
imports = [ inputs.noctalia.homeModules.default ];
|
||||||
|
|
||||||
|
programs.noctalia = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# The module's `package` option has no default, so it must be set explicitly.
|
||||||
|
package = inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
|
|
||||||
|
# settings is rendered to ~/.config/noctalia/config.toml
|
||||||
|
settings = {
|
||||||
|
# theme / colors
|
||||||
|
theme = {
|
||||||
|
source = "builtin";
|
||||||
|
builtin = "Nord";
|
||||||
|
mode = "dark";
|
||||||
|
templates.builtin_ids = [ "ghostty" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
# general
|
||||||
|
shell = {
|
||||||
|
font_family = "0xProto Nerd Font Mono";
|
||||||
|
ui_scale = 1.2;
|
||||||
|
avatar_path = "/home/aaron/syncthing/pictures/Logo-Aaron-Totenkopf-rund-schwarz.png";
|
||||||
|
telemetry_enabled = false;
|
||||||
|
clipboard_enabled = true;
|
||||||
|
password_style = "random";
|
||||||
|
|
||||||
|
panel = {
|
||||||
|
launcher_compact = true;
|
||||||
|
open_near_click_control_center = true;
|
||||||
|
open_near_click_session = true;
|
||||||
|
open_near_click_wallpaper = true;
|
||||||
|
transparency_mode = "glass";
|
||||||
|
};
|
||||||
|
|
||||||
|
screen_corners = {
|
||||||
|
enabled = true;
|
||||||
|
size = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# location / weather
|
||||||
|
location.address = "Bern";
|
||||||
|
|
||||||
|
weather = {
|
||||||
|
enabled = true;
|
||||||
|
unit = "metric";
|
||||||
|
};
|
||||||
|
|
||||||
|
# wallpaper
|
||||||
|
wallpaper = {
|
||||||
|
enabled = true;
|
||||||
|
directory = "/home/aaron/Pictures/Wallpapers";
|
||||||
|
fill_mode = "crop";
|
||||||
|
default.path = "/home/aaron/Pictures/Wallpapers/nord-theme-tower.png";
|
||||||
|
};
|
||||||
|
|
||||||
|
# bar layout
|
||||||
|
bar = {
|
||||||
|
order = [ "default" ];
|
||||||
|
default = {
|
||||||
|
position = "top";
|
||||||
|
background_opacity = 0.93;
|
||||||
|
font_weight = 400;
|
||||||
|
margin_edge = 0;
|
||||||
|
margin_ends = 0;
|
||||||
|
radius = 0;
|
||||||
|
scale = 1.2;
|
||||||
|
widget_spacing = 20;
|
||||||
|
start = [ "control-center" "cpu" "ram" "temp" "active_window" ];
|
||||||
|
center = [ "workspaces" ];
|
||||||
|
end = [ "tray" "bluetooth" "notifications" "volume" "network" "clock" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# per-widget styling
|
||||||
|
widget = {
|
||||||
|
bluetooth.capsule = true;
|
||||||
|
control-center = {
|
||||||
|
capsule_radius = 8;
|
||||||
|
custom_image = "/home/aaron/Pictures/nix_flake_logo.png";
|
||||||
|
scale = 1.4;
|
||||||
|
};
|
||||||
|
cpu.capsule = true;
|
||||||
|
network = {
|
||||||
|
capsule = true;
|
||||||
|
show_label = false;
|
||||||
|
};
|
||||||
|
notifications.capsule = true;
|
||||||
|
ram.capsule = true;
|
||||||
|
temp.capsule = true;
|
||||||
|
volume = {
|
||||||
|
capsule = true;
|
||||||
|
show_label = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# idle behavior
|
||||||
|
idle = {
|
||||||
|
behavior_order = [ "screen-off" "lock" "lock-and-suspend" ];
|
||||||
|
behavior = {
|
||||||
|
"screen-off" = {
|
||||||
|
enabled = true;
|
||||||
|
timeout = 600;
|
||||||
|
};
|
||||||
|
"lock" = {
|
||||||
|
enabled = true;
|
||||||
|
timeout = 660;
|
||||||
|
};
|
||||||
|
"lock-and-suspend" = {
|
||||||
|
enabled = true;
|
||||||
|
timeout = 1800;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -8,6 +8,8 @@
|
|||||||
fastfetch
|
fastfetch
|
||||||
keepassxc
|
keepassxc
|
||||||
teamspeak6-client
|
teamspeak6-client
|
||||||
|
typst
|
||||||
|
zathura
|
||||||
];
|
];
|
||||||
|
|
||||||
# services and other software
|
# services and other software
|
||||||
@@ -16,5 +18,8 @@
|
|||||||
|
|
||||||
# browsers
|
# browsers
|
||||||
programs.chromium.enable = true;
|
programs.chromium.enable = true;
|
||||||
programs.firefox.enable = true;
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
configPath = "${config.xdg.configHome}/mozilla/firefox";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,12 +8,14 @@
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme will be set below
|
# add git and agents as plugins
|
||||||
theme = "";
|
|
||||||
plugins = [ "git" "ssh-agent" "gpg-agent" ];
|
plugins = [ "git" "ssh-agent" "gpg-agent" ];
|
||||||
};
|
# everything here lands before `source $ZSH/oh-my-zsh.sh`
|
||||||
|
extraConfig = ''
|
||||||
|
# make omz faster on large repositories
|
||||||
|
DISABLE_UNTRACKED_FILES_DIRTY=true
|
||||||
|
|
||||||
# only display a fancy theme when glyphs are rendered
|
# only display a fancy theme when glyphs are rendered
|
||||||
initContent = lib.mkOrder 550 ''
|
|
||||||
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
|
if [[ "$TERM" == "linux" || "$TERM" == "screen" ]]; then
|
||||||
ZSH_THEME="gentoo"
|
ZSH_THEME="gentoo"
|
||||||
else
|
else
|
||||||
@@ -21,6 +23,7 @@
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# set important env vars
|
# set important env vars
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
|||||||
@@ -1,60 +1,123 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# Powerline separators, U+E0B0..U+E0B3.
|
||||||
|
#
|
||||||
|
# Written as escapes rather than literal glyphs. These are Private Use Area
|
||||||
|
# codepoints: they render only with a patched font, they survive copy/paste
|
||||||
|
# badly, and when they get stripped the loss is invisible, the config still
|
||||||
|
# parses, the status bar just quietly loses its separators. Nix has no \u
|
||||||
|
# escape of its own, but fromJSON does.
|
||||||
|
sep = builtins.fromJSON ''
|
||||||
|
{
|
||||||
|
"right": "\ue0b0",
|
||||||
|
"rightThin": "\ue0b1",
|
||||||
|
"left": "\ue0b2",
|
||||||
|
"leftThin": "\ue0b3"
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
|
# defaults
|
||||||
enable = true;
|
enable = true;
|
||||||
prefix = "C-a";
|
prefix = "C-a";
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
mouse = true;
|
mouse = true;
|
||||||
terminal = "screen-256color";
|
|
||||||
|
# tmux-256color gives truecolor, italics and undercurl in nvim.
|
||||||
|
terminal = "tmux-256color";
|
||||||
|
|
||||||
|
# Default is 500ms. Causes lag you feel when leaving insert mode in nvim,
|
||||||
|
# because tmux is waiting to see whether Esc starts an escape sequence.
|
||||||
|
escapeTime = 10;
|
||||||
|
|
||||||
|
# nvim autoread / :checktime react to focus.
|
||||||
|
focusEvents = true;
|
||||||
|
|
||||||
|
# History limit.
|
||||||
|
historyLimit = 50000;
|
||||||
|
|
||||||
|
# Window numbers matching the number row.
|
||||||
|
baseIndex = 1;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Status keys
|
# Status keys
|
||||||
set -g status-keys vi
|
set -g status-keys vi
|
||||||
|
|
||||||
|
# Tell tmux the outer terminal can do 24-bit colour (tmux >= 3.2).
|
||||||
|
set -sa terminal-features ",*:RGB"
|
||||||
|
|
||||||
|
# Shift+Enter / extended keys
|
||||||
|
# These make tmux forward CSI-u sequences unconditionally.
|
||||||
|
# Needs tmux >= 3.5 for the format option,
|
||||||
|
set -s extended-keys always
|
||||||
|
set -s extended-keys-format csi-u
|
||||||
|
set -as terminal-features '*:extkeys'
|
||||||
|
|
||||||
# Status bar options
|
# Status bar options
|
||||||
set -g status-interval 1
|
set -g status-interval 5
|
||||||
set -g status on
|
|
||||||
set -g status-justify left
|
set -g status-justify left
|
||||||
|
|
||||||
# Clock mode
|
# Clock mode
|
||||||
setw -g clock-mode-colour cyan
|
setw -g clock-mode-colour cyan
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
set -g status-bg black
|
set -g status-bg black
|
||||||
set -g status-fg white
|
set -g status-fg white
|
||||||
|
|
||||||
# Key bindings
|
# Key bindings
|
||||||
# Reload configuration
|
bind r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded"
|
||||||
bind r source-file ~/.config/tmux/tmux.conf
|
|
||||||
# Panel split and selection
|
# Panel split and selection, new panes/windows inherit the cwd
|
||||||
unbind %
|
unbind %
|
||||||
unbind '"'
|
unbind '"'
|
||||||
bind v split-window -v
|
bind v split-window -v -c "#{pane_current_path}"
|
||||||
bind c split-window -h
|
bind c split-window -h -c "#{pane_current_path}"
|
||||||
bind i new-window
|
bind i new-window -c "#{pane_current_path}"
|
||||||
bind b previous-window
|
bind -r b previous-window
|
||||||
bind n next-window
|
bind -r n next-window
|
||||||
|
|
||||||
# Move around panes with hjkl
|
# Move around panes with hjkl
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
bind j select-pane -D
|
bind j select-pane -D
|
||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
bind l select-pane -R
|
bind l select-pane -R
|
||||||
|
|
||||||
# Resize panes
|
# Resize panes
|
||||||
bind H resize-pane -L 5
|
bind -r H resize-pane -L 5
|
||||||
bind J resize-pane -D 5
|
bind -r J resize-pane -D 5
|
||||||
bind K resize-pane -U 5
|
bind -r K resize-pane -U 5
|
||||||
bind L resize-pane -R 5
|
bind -r L resize-pane -R 5
|
||||||
|
|
||||||
# Wayland clipboard integration
|
# Wayland clipboard integration
|
||||||
# Copy selection to both clipboard (Ctrl+V / Shift+Insert) and primary (middle-click)
|
# Copy selection to both clipboard (Ctrl+V / Shift+Insert) and primary (middle-click)
|
||||||
|
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||||
|
bind -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy && wl-copy --primary"
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "wl-copy && wl-copy --primary"
|
||||||
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "wl-copy && wl-copy --primary"
|
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "wl-copy && wl-copy --primary"
|
||||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy && wl-copy --primary"
|
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy && wl-copy --primary"
|
||||||
|
# Uncomment if you want yanks to also travel over SSH via OSC52.
|
||||||
|
# Locally redundant with wl-copy above.
|
||||||
|
#set -g set-clipboard on
|
||||||
|
|
||||||
# Kill commands
|
# Kill commands
|
||||||
bind q kill-window
|
bind q confirm-before -p "kill window #W? (y/n)" kill-window
|
||||||
bind Q kill-session
|
bind Q confirm-before -p "kill session #S? (y/n)" kill-session
|
||||||
|
|
||||||
# Bars
|
# Bars
|
||||||
|
# This is the nord-tmux status line. #{prefix_highlight} came from that
|
||||||
|
# theme's tmux-prefix-highlight integration -- a plugin you never loaded,
|
||||||
|
# so the token expanded to nothing. tmux can do it natively. Commas inside
|
||||||
|
# #{?...} are argument separators and have to be escaped as #, hence the
|
||||||
|
# look of the style spec.
|
||||||
set -g status-left-length 24
|
set -g status-left-length 24
|
||||||
set -g status-left "#[fg=black,bg=blue,bold] #{=20:session_name} #[fg=blue,bg=black,nobold,noitalics,nounderscore]"
|
set -g status-left "#[fg=black,bg=blue,bold] #{=20:session_name} #[fg=blue,bg=black,nobold,noitalics,nounderscore]${sep.right}"
|
||||||
set -g status-right "#{prefix_highlight}#[fg=brightblack,bg=black,nobold,noitalics,nounderscore]#[fg=white,bg=brightblack] %Y-%m-%d #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]#[fg=white,bg=brightblack] %H:%M #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore]#[fg=black,bg=cyan,bold] #H "
|
set -g status-right "#{?client_prefix,#[fg=black#,bg=yellow#,bold] ^A ,}#[fg=brightblack,bg=black,nobold,noitalics,nounderscore]${sep.left}#[fg=white,bg=brightblack] %Y-%m-%d #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]${sep.leftThin}#[fg=white,bg=brightblack] %H:%M #[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore]${sep.left}#[fg=black,bg=cyan,bold] #H "
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
set -g window-status-format "#[fg=black,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack,nobold,noitalics,nounderscore] #[fg=white,bg=brightblack]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]"
|
set -g window-status-format "#[fg=black,bg=brightblack,nobold,noitalics,nounderscore]${sep.right} #[fg=white,bg=brightblack]#I #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]${sep.rightThin} #[fg=white,bg=brightblack]#W #F #[fg=brightblack,bg=black,nobold,noitalics,nounderscore]${sep.right}"
|
||||||
set -g window-status-current-format "#[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#I #[fg=black,bg=cyan,nobold,noitalics,nounderscore] #[fg=black,bg=cyan]#W #F #[fg=cyan,bg=black,nobold,noitalics,nounderscore]"
|
set -g window-status-current-format "#[fg=black,bg=cyan,nobold,noitalics,nounderscore]${sep.right} #[fg=black,bg=cyan]#I #[fg=black,bg=cyan,nobold,noitalics,nounderscore]${sep.rightThin} #[fg=black,bg=cyan]#W #F #[fg=cyan,bg=black,nobold,noitalics,nounderscore]${sep.right}"
|
||||||
set -g window-status-separator ""
|
set -g window-status-separator ""
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# AppImages ship a squashfs payload that the bundled runtime mounts through
|
||||||
|
# libfuse.so.2 at startup. nix-ld resolves the ELF interpreter but not that
|
||||||
|
# dlopen, so running one directly dies with "dlopen(): error loading
|
||||||
|
# libfuse.so.2". appimage-run sidesteps the mount entirely: it unpacks the
|
||||||
|
# image and runs the payload inside an FHS sandbox, which the bundled Qt and
|
||||||
|
# electron style binaries need anyway.
|
||||||
|
#
|
||||||
|
# Used for the BitBox02 wallet AppImage, downloaded fresh from
|
||||||
|
# https://bitbox.swiss/download/ rather than installed from nixpkgs.
|
||||||
|
programs.appimage = {
|
||||||
|
enable = true;
|
||||||
|
# register AppImages with binfmt_misc so ./Something.AppImage runs as-is,
|
||||||
|
# no appimage-run prefix to remember.
|
||||||
|
binfmt = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# Siril's Python plugins (sirilpy) run in a venv that pip-installs foreign
|
||||||
|
# manylinux wheels (numpy, GraXpert deps, ...). Those .so files need
|
||||||
|
# libstdc++ at runtime. nix-ld does NOT cover this: it only handles the
|
||||||
|
# initial exec of a foreign binary, but here a *native* nixpkgs python
|
||||||
|
# dlopen()s the foreign wheel. So we put the libs on LD_LIBRARY_PATH, which
|
||||||
|
# the python subprocess inherits from the Siril process.
|
||||||
|
sirilWithPlugins = pkgs.symlinkJoin {
|
||||||
|
name = "siril-with-plugins";
|
||||||
|
paths = [ pkgs.siril ];
|
||||||
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
# Siril bootstraps its sirilpy venv at first run by locating a `python3`
|
||||||
|
# on PATH. nixpkgs only *propagates* python3 from the siril derivation (it
|
||||||
|
# isn't on the runtime PATH), so without the --prefix PATH below the GUI
|
||||||
|
# fails with "Python not found in system PATH" and never creates
|
||||||
|
# ~/.local/share/siril/venv. We add the same interpreter siril references.
|
||||||
|
#
|
||||||
|
# The VeraLux PyQt6 wheel ships only the built-in Windows/Fusion styles, so
|
||||||
|
# the global QT_STYLE_OVERRIDE=adwaita-dark (inherited from the session) is
|
||||||
|
# rejected ("invalid style override") and windows fall back to a light
|
||||||
|
# theme. We expose nixpkgs adwaita-qt6's style plugin on QT_PLUGIN_PATH so
|
||||||
|
# the override resolves. This works because nixpkgs qt6 and the bundled Qt
|
||||||
|
# share a major.minor (6.11); if they ever drift the plugin is simply
|
||||||
|
# ignored again (harmless warning + Fusion fallback, no loss of function).
|
||||||
|
postBuild = ''
|
||||||
|
wrapProgram $out/bin/siril \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ pkgs.python3 ]} \
|
||||||
|
--prefix QT_PLUGIN_PATH : ${pkgs.adwaita-qt6}/lib/qt-6/plugins \
|
||||||
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with pkgs; [
|
||||||
|
stdenv.cc.cc.lib # libstdc++ / libgcc_s / libgomp (numpy etc.)
|
||||||
|
zlib
|
||||||
|
zstd # libzstd.so.1 (PyQt6)
|
||||||
|
libGL # libGL.so.1 (PyQt6)
|
||||||
|
# PyQt6 (VeraLux) — Qt bundles xcb support so it needs these even
|
||||||
|
# on Wayland; libxkbcommon is the keymap lib used by Wayland too.
|
||||||
|
glib
|
||||||
|
fontconfig
|
||||||
|
freetype
|
||||||
|
dbus
|
||||||
|
libxkbcommon
|
||||||
|
# Qt platform plugins: the wayland plugin (libqwayland.so) needs the
|
||||||
|
# wayland client libs; the xcb fallback needs libxcb-cursor.so.0.
|
||||||
|
wayland # libwayland-client/cursor/egl (wayland plugin)
|
||||||
|
libxcb-cursor # libxcb-cursor.so.0 (xcb plugin)
|
||||||
|
libx11
|
||||||
|
libxcb
|
||||||
|
libxcb-util
|
||||||
|
libxcb-wm
|
||||||
|
libxcb-image
|
||||||
|
libxcb-keysyms
|
||||||
|
libxcb-render-util
|
||||||
|
])}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# install stellarium for target finding and siril for stacking
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
stellarium
|
||||||
|
sirilWithPlugins
|
||||||
|
];
|
||||||
|
|
||||||
|
# StarNet++ has no nixpkgs package. Download the StarNet v2 ORT CLI build
|
||||||
|
# (starnet2_linux_*_ORT_x64_cli) from https://www.starnetastro.com/download/
|
||||||
|
# and unzip it to ~/.local/share/siril/starnet/. Then in Siril set
|
||||||
|
# Preferences -> Miscellaneous -> StarNet executable
|
||||||
|
# to the extracted ./starnet2 binary.
|
||||||
|
#
|
||||||
|
# The binary is a generic dynamically-linked ELF, so NixOS needs nix-ld to
|
||||||
|
# run it. Its own opencv/onnxruntime libs are found via the bundled ./lib.
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
|
programs.nix-ld.libraries = with pkgs; [
|
||||||
|
stdenv.cc.cc.lib # libstdc++ / libgcc_s
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# install calibre for ebook management and kobo syncing
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
calibre
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
claude-code
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# install gnuradio companion along with it's osmocom library
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
(gnuradio.override {
|
||||||
|
extraPackages = with gnuradio.pkgs; [ osmosdr ];
|
||||||
|
})
|
||||||
|
gqrx
|
||||||
|
hackrf
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
adwaita-qt
|
adwaita-qt
|
||||||
adwaita-qt6
|
adwaita-qt6
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
ddcutil
|
||||||
playerctl
|
playerctl
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
# system packages
|
# system packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
btop
|
btop
|
||||||
|
cifs-utils
|
||||||
cowsay
|
cowsay
|
||||||
dnsutils
|
dnsutils
|
||||||
ethtool
|
ethtool
|
||||||
@@ -20,6 +21,7 @@
|
|||||||
ltrace
|
ltrace
|
||||||
mtr
|
mtr
|
||||||
neovim
|
neovim
|
||||||
|
nfs-utils
|
||||||
nh
|
nh
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
nmap
|
nmap
|
||||||
@@ -33,10 +35,11 @@
|
|||||||
tree
|
tree
|
||||||
unzip
|
unzip
|
||||||
usbutils
|
usbutils
|
||||||
|
vial
|
||||||
vim
|
vim
|
||||||
wl-clipboard
|
|
||||||
wget
|
wget
|
||||||
which
|
which
|
||||||
|
wl-clipboard
|
||||||
xz
|
xz
|
||||||
zip
|
zip
|
||||||
zstd
|
zstd
|
||||||
|
|||||||
@@ -8,6 +8,6 @@
|
|||||||
networking.firewall.checkReversePath = "loose";
|
networking.firewall.checkReversePath = "loose";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
protonvpn-gui
|
proton-vpn
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# add trusted users (able to modify the nix store)
|
||||||
|
nix.settings.trusted-users = [ "root" "@wheel" ];
|
||||||
|
|
||||||
# allow unfree packages (steam, protonvpn, discord, etc.)
|
# allow unfree packages (steam, protonvpn, discord, etc.)
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Enable Thunar
|
||||||
|
programs.thunar.enable = true;
|
||||||
|
|
||||||
|
# Install Tumbler thumbnailer service
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
tumbler
|
||||||
|
];
|
||||||
|
|
||||||
|
# Ensure Thunar can locate the thumbnailer extensions
|
||||||
|
environment.pathsToLink = [ "share/thumbnailers" ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Vial-capable keyboards (lily58 pro r2g) expose a second, non-keyboard raw
|
||||||
|
# HID interface that vial.rocks drives over WebHID. Its /dev/hidraw* node is
|
||||||
|
# root-only by default, so neither chromium nor the native app can open it.
|
||||||
|
#
|
||||||
|
# This has to ship as a numbered rules file rather than via
|
||||||
|
# services.udev.extraRules: extraRules lands in 99-local.rules, but the
|
||||||
|
# builtin that turns TAG+="uaccess" into an actual ACL is invoked from
|
||||||
|
# systemd's 73-seat-late.rules. A tag set at 99 is set too late to be seen,
|
||||||
|
# so the device ends up correctly tagged and still unreadable. 60- sorts
|
||||||
|
# safely ahead of 73.
|
||||||
|
services.udev.packages = [
|
||||||
|
(pkgs.writeTextFile {
|
||||||
|
name = "vial-udev-rules";
|
||||||
|
destination = "/lib/udev/rules.d/60-vial.rules";
|
||||||
|
# Vial firmware advertises itself through a magic USB serial, so this
|
||||||
|
# matches any vial board rather than just the lily58. uaccess hands the
|
||||||
|
# device to whoever owns the active seat, no group membership needed.
|
||||||
|
text = ''
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", TAG+="uaccess"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
../../modules/home-manager/git.nix
|
../../modules/home-manager/git.nix
|
||||||
../../modules/home-manager/ghostty.nix
|
../../modules/home-manager/ghostty.nix
|
||||||
../../modules/home-manager/nixvim.nix
|
../../modules/home-manager/nixvim.nix
|
||||||
|
../../modules/home-manager/noctalia.nix
|
||||||
../../modules/home-manager/programs.nix
|
../../modules/home-manager/programs.nix
|
||||||
../../modules/home-manager/shell.nix
|
../../modules/home-manager/shell.nix
|
||||||
../../modules/home-manager/styling.nix
|
../../modules/home-manager/styling.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user