Compare commits
29 Commits
a68b5786e5
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c3aba30c34 | ||
![]() |
160ea2abc7 | ||
![]() |
4747ba1c58 | ||
![]() |
a4a76bd91f | ||
![]() |
9999dc3baf | ||
![]() |
009edeb259 | ||
![]() |
617119491f | ||
![]() |
76bb9c4d60 | ||
![]() |
fb10bb05eb | ||
![]() |
bfaf0a1b9c | ||
![]() |
9c00f3c466 | ||
![]() |
5823b2d534 | ||
![]() |
f67ce54e8a | ||
![]() |
c6bf052da6 | ||
![]() |
a7a9e9fd6a | ||
![]() |
89f10fbf63 | ||
![]() |
ec50143a97 | ||
![]() |
68f9f0afb0 | ||
![]() |
eb10424ccf | ||
![]() |
21feb914f0 | ||
![]() |
40e02f8ece | ||
![]() |
5834779d2b | ||
![]() |
f1a7bf0b6b | ||
![]() |
5443a41016 | ||
![]() |
20ff1d16dd | ||
![]() |
3c0a5834b0 | ||
![]() |
42130edad6 | ||
![]() |
510f3b41db | ||
![]() |
2c8b799325 |
@ -14,10 +14,10 @@
|
|||||||
home-manager,
|
home-manager,
|
||||||
nvf,
|
nvf,
|
||||||
}: {
|
}: {
|
||||||
nixosConfigurations.computer = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.sputnik = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/computer/configuration.nix
|
./hosts/sputnik/configuration.nix
|
||||||
nvf.nixosModules.default
|
nvf.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
@ -30,10 +30,10 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.meteor = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/laptop/configuration.nix
|
./hosts/meteor/configuration.nix
|
||||||
nvf.nixosModules.default
|
nvf.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
@ -72,6 +72,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
lsp = {
|
lsp = {
|
||||||
|
lspkind.enable = true;
|
||||||
trouble = {
|
trouble = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,59 +1,77 @@
|
|||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
|
local lspkind = require("lspkind")
|
||||||
|
|
||||||
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
snippet = {
|
formatting = {
|
||||||
expand = function(args)
|
format = function(entry, vim_item)
|
||||||
require('luasnip').lsp_expand(args.body)
|
vim_item.menu = ({
|
||||||
end,
|
nvim_lsp = "[LSP]",
|
||||||
},
|
buffer = "[BUF]",
|
||||||
sorting = {
|
path = "[PATH]",
|
||||||
comparators = {
|
luasnip = "[SNIP]",
|
||||||
cmp.config.compare.offset,
|
nvim_lua = "[LUA]",
|
||||||
cmp.config.compare.exact,
|
})[entry.source.name]
|
||||||
cmp.config.compare.recently_used,
|
|
||||||
cmp.config.compare.kind,
|
|
||||||
cmp.config.compare.sort_text,
|
|
||||||
cmp.config.compare.length,
|
|
||||||
cmp.config.compare.order,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
window = {
|
|
||||||
completion = cmp.config.window.bordered(),
|
|
||||||
documentation = cmp.config.window.bordered(),
|
|
||||||
},
|
|
||||||
mapping = cmp.mapping.preset.insert({
|
|
||||||
["<Tab>"] = cmp.mapping(function(fallback)
|
|
||||||
if cmp.visible() then
|
|
||||||
cmp.select_next_item()
|
|
||||||
else
|
|
||||||
fallback()
|
|
||||||
end
|
|
||||||
end, { "i", "s" }),
|
|
||||||
|
|
||||||
["<S-Tab>"] = cmp.mapping(function(fallback)
|
vim_item.kind = lspkind.symbolic(vim_item.kind, { mode = "symbol" })
|
||||||
if cmp.visible() then
|
return vim_item
|
||||||
cmp.select_prev_item()
|
end,
|
||||||
else
|
},
|
||||||
fallback()
|
sorting = {
|
||||||
end
|
comparators = {
|
||||||
end, { "i", "s" }),
|
cmp.config.compare.offset,
|
||||||
|
cmp.config.compare.exact,
|
||||||
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
cmp.config.compare.recently_used,
|
||||||
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
cmp.config.compare.kind,
|
||||||
["<C-Space>"] = cmp.mapping.complete(),
|
cmp.config.compare.sort_text,
|
||||||
["<C-e>"] = cmp.mapping.abort(),
|
cmp.config.compare.length,
|
||||||
["<C-Left>"] = cmp.mapping.abort(),
|
cmp.config.compare.order,
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
|
||||||
}),
|
|
||||||
sources = cmp.config.sources({
|
|
||||||
{ name = 'nvim_lsp' },
|
|
||||||
{ name = 'luasnip' },
|
|
||||||
{ name = 'buffer' },
|
|
||||||
{ name = 'path' },
|
|
||||||
{ name = 'nvim_lua' },
|
|
||||||
{ name = 'emoji' },
|
|
||||||
}),
|
|
||||||
highlight = {
|
|
||||||
default = "Subtle"
|
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
window = {
|
||||||
|
completion = {
|
||||||
|
autocomplete = true,
|
||||||
|
col_offset = -3,
|
||||||
|
side_padding = 0,
|
||||||
|
},
|
||||||
|
completion = cmp.config.window.bordered({
|
||||||
|
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None",
|
||||||
|
}),
|
||||||
|
documentation = cmp.config.window.bordered({
|
||||||
|
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None",
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
mapping = cmp.mapping.preset.insert({
|
||||||
|
["<Tab>"] = cmp.mapping(function(fallback)
|
||||||
|
if cmp.visible() then
|
||||||
|
cmp.select_next_item()
|
||||||
|
else
|
||||||
|
fallback()
|
||||||
|
end
|
||||||
|
end, { "i", "s" }),
|
||||||
|
|
||||||
|
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||||
|
if cmp.visible() then
|
||||||
|
cmp.select_prev_item()
|
||||||
|
else
|
||||||
|
fallback()
|
||||||
|
end
|
||||||
|
end, { "i", "s" }),
|
||||||
|
|
||||||
|
["<C-b>"] = cmp.mapping.scroll_docs(-4),
|
||||||
|
["<C-f>"] = cmp.mapping.scroll_docs(4),
|
||||||
|
["<C-Space>"] = cmp.mapping.complete(),
|
||||||
|
["<C-e>"] = cmp.mapping.abort(),
|
||||||
|
["<C-Left>"] = cmp.mapping.abort(),
|
||||||
|
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||||
|
}),
|
||||||
|
sources = cmp.config.sources({
|
||||||
|
{ name = 'nvim_lsp' },
|
||||||
|
{ name = 'luasnip' },
|
||||||
|
{ name = 'buffer' },
|
||||||
|
{ name = 'path' },
|
||||||
|
{ name = 'nvim_lua' },
|
||||||
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 2
|
||||||
vim.opt.tabstop = 4
|
vim.opt.tabstop = 2
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
vim.opt.cursorcolumn = true
|
vim.opt.cursorcolumn = true
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.opt.autoindent = true
|
vim.opt.autoindent = true
|
||||||
vim.opt.smartindent = true
|
vim.opt.smartindent = true
|
||||||
vim.opt.softtabstop = 4
|
vim.opt.softtabstop = 2
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
|
@ -24,8 +24,11 @@
|
|||||||
".wp/wolf.png".source = ./raw/wp/wolf.png;
|
".wp/wolf.png".source = ./raw/wp/wolf.png;
|
||||||
".wp/nixos_dark.png".source = ./raw/wp/nixos_dark.png;
|
".wp/nixos_dark.png".source = ./raw/wp/nixos_dark.png;
|
||||||
".wp/GABE_Windows.png".source = ./raw/wp/GABE_Windows.png;
|
".wp/GABE_Windows.png".source = ./raw/wp/GABE_Windows.png;
|
||||||
".wp/skulls.png".source = ./raw/wp/skulls.png;
|
|
||||||
".wp/soyuz.png".source = ./raw/wp/soyuz.png;
|
".wp/soyuz.png".source = ./raw/wp/soyuz.png;
|
||||||
|
".wp/bridge.png".source = ./raw/wp/bridge.png;
|
||||||
|
".wp/skulls.png".source = ./raw/wp/skulls.png;
|
||||||
|
".wp/purple_plants.png".source = ./raw/wp/purple_plants.png;
|
||||||
|
".wp/black_hole.png".source = ./raw/wp/black_hole.png;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -14,14 +14,12 @@
|
|||||||
type "pipewire"
|
type "pipewire"
|
||||||
name "Pipewire Output"
|
name "Pipewire Output"
|
||||||
}
|
}
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "fifo"
|
type "fifo"
|
||||||
name "Visualizer feed"
|
name "Visualizer feed"
|
||||||
path "/tmp/mpd.fifo"
|
path "/tmp/mpd.fifo"
|
||||||
format "44100:16:2"
|
format "44100:16:2"
|
||||||
}
|
}
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -29,32 +27,58 @@
|
|||||||
programs = {
|
programs = {
|
||||||
ncmpcpp = {
|
ncmpcpp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.ncmpcpp.override { visualizerSupport = true; };
|
||||||
mpdMusicDir = "/home/fabian/.music";
|
mpdMusicDir = "/home/fabian/.music";
|
||||||
bindings = [
|
|
||||||
];
|
|
||||||
settings = {
|
settings = {
|
||||||
ncmpcpp_directory = "~/.ncmpcpp";
|
|
||||||
mpd_host = "localhost";
|
|
||||||
mpd_port = 6600;
|
mpd_port = 6600;
|
||||||
header_window_color = "cyan";
|
mpd_crossfade_time = 2;
|
||||||
progressbar_look = "━━━";
|
mouse_support = "yes";
|
||||||
visualizer_color = "cyan";
|
|
||||||
visualizer_look = "┃│";
|
|
||||||
now_playing_prefix = " ";
|
|
||||||
visualizer_type = "wave";
|
|
||||||
song_status_format = " $2%a $4⟫$3⟫ $8%t $4⟫$3⟫ $5%b ";
|
|
||||||
autocenter_mode = "yes";
|
|
||||||
centered_cursor = "yes";
|
|
||||||
display_bitrate = "no";
|
|
||||||
enable_window_title = "no";
|
|
||||||
follow_now_playing_lyrics = "yes";
|
|
||||||
ignore_leading_the = "yes";
|
|
||||||
empty_tag_marker = "";
|
|
||||||
visualizer_data_source = "/tmp/mpd.fifo";
|
visualizer_data_source = "/tmp/mpd.fifo";
|
||||||
visualizer_output_name = "my_fifo";
|
visualizer_output_name = "my_fifo";
|
||||||
header_visibility = false;
|
visualizer_in_stereo = "no";
|
||||||
statusbar_visibility = true;
|
visualizer_type = "spectrum";
|
||||||
titles_visibility = true;
|
visualizer_look = "█┇";
|
||||||
|
visualizer_color = "7, 5, 4, 3";
|
||||||
|
startup_screen = "browser";
|
||||||
|
startup_slave_screen = "visualizer";
|
||||||
|
playlist_disable_highlight_delay = "1";
|
||||||
|
now_playing_prefix = "$8$b ➤ ";
|
||||||
|
song_list_format = "{$2%a$9} $1|$9 {$5%t$9} $R {$6%b$9} $1|$9 {$2%l$9}";
|
||||||
|
song_library_format = "{%n - }{%t}|{%f}";
|
||||||
|
song_status_format = "$b{$6%a$9 $1|$9} {$7%t$9} $1|$9 {$2%b$9} $1|$9 {$6%y$9} $1|$9";
|
||||||
|
song_window_title_format = "{%a-%t}";
|
||||||
|
song_columns_list_format = "(6)[magenta]{l} (30)[red]{a} (30)[blue]{b} (53)[magenta]{t}";
|
||||||
|
playlist_display_mode = "classic";
|
||||||
|
titles_visibility = "no";
|
||||||
|
browser_display_mode = "columns";
|
||||||
|
incremental_seeking = "yes";
|
||||||
|
autocenter_mode = "yes";
|
||||||
|
header_visibility = "no";
|
||||||
|
statusbar_visibility = "yes";
|
||||||
|
cyclic_scrolling = "yes";
|
||||||
|
display_bitrate = "yes";
|
||||||
|
ignore_leading_the = "yes";
|
||||||
|
enable_window_title = "yes";
|
||||||
|
progressbar_look = ":: ";
|
||||||
|
user_interface = "alternative";
|
||||||
|
alternative_header_first_line_format = "{$b$2%a$9} $1|$9 {$5%t$9}";
|
||||||
|
alternative_header_second_line_format = "{$6%b$9} $1|$9 {$2(%y)$9}";
|
||||||
|
alternative_ui_separator_color = "black";
|
||||||
|
playlist_separate_albums = "no";
|
||||||
|
colors_enabled = "yes";
|
||||||
|
empty_tag_color = "blue";
|
||||||
|
header_window_color = "black";
|
||||||
|
volume_color = "black";
|
||||||
|
display_volume_level = "yes";
|
||||||
|
state_line_color = "cyan";
|
||||||
|
state_flags_color = "red";
|
||||||
|
main_window_color = "blue";
|
||||||
|
color1 = "white";
|
||||||
|
color2 = "blue";
|
||||||
|
progressbar_color = "black";
|
||||||
|
statusbar_color = "black";
|
||||||
|
window_border_color = "red";
|
||||||
|
active_window_border = "red";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -21,13 +21,12 @@
|
|||||||
bind t new-window
|
bind t new-window
|
||||||
bind -n M-w previous-window
|
bind -n M-w previous-window
|
||||||
bind -n M-e next-window
|
bind -n M-e next-window
|
||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
bind -n M-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
bind -n M-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
set-option -s status-interval 1
|
|
||||||
set -g status-left-length 100
|
set -g status-left-length 100
|
||||||
set -g status-right-length 100
|
set -g status-right-length 100
|
||||||
set -g status-position top
|
set -g status-position top
|
||||||
@ -37,8 +36,6 @@
|
|||||||
set -g @plugin 'o0th/tmux-nova'
|
set -g @plugin 'o0th/tmux-nova'
|
||||||
|
|
||||||
set -g @nova-nerdfonts true
|
set -g @nova-nerdfonts true
|
||||||
set -g @nova-nerdfonts-left
|
|
||||||
set -g @nova-nerdfonts-right
|
|
||||||
|
|
||||||
set -g @nova-pane-active-border-style "#44475a"
|
set -g @nova-pane-active-border-style "#44475a"
|
||||||
set -g @nova-pane-border-style "#282a36"
|
set -g @nova-pane-border-style "#282a36"
|
||||||
@ -68,7 +65,6 @@
|
|||||||
|
|
||||||
run-shell ~/.tmux/plugins/tmux-nova/nova.tmux
|
run-shell ~/.tmux/plugins/tmux-nova/nova.tmux
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
BIN
hosts/default/home/raw/wp/black_hole.png
Normal file
BIN
hosts/default/home/raw/wp/black_hole.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
BIN
hosts/default/home/raw/wp/bridge.png
Normal file
BIN
hosts/default/home/raw/wp/bridge.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
BIN
hosts/default/home/raw/wp/purple_plants.png
Normal file
BIN
hosts/default/home/raw/wp/purple_plants.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.3 MiB |
@ -1,17 +0,0 @@
|
|||||||
[options]
|
|
||||||
HoldPkg = pacman glibc
|
|
||||||
Architecture = auto
|
|
||||||
UseSyslog
|
|
||||||
Color
|
|
||||||
ILoveCandy
|
|
||||||
CheckSpace
|
|
||||||
VerbosePkgLists
|
|
||||||
ParallelDownloads = 5
|
|
||||||
SigLevel = Never
|
|
||||||
LocalFileSigLevel = Optional
|
|
||||||
|
|
||||||
[dkp-libs]
|
|
||||||
Server = https://pkg.devkitpro.org/packages
|
|
||||||
|
|
||||||
[dkp-linux]
|
|
||||||
Server = https://pkg.devkitpro.org/packages/linux/$arch/
|
|
17
hosts/default/system/chromium.nix
Normal file
17
hosts/default/system/chromium.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
chromium
|
||||||
|
];
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
extensions = [
|
||||||
|
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # Dark Reader
|
||||||
|
];
|
||||||
|
extraOpts = {
|
||||||
|
"BrowserSignin" = 0;
|
||||||
|
"SyncDisabled" = true;
|
||||||
|
"PasswordManagerEnabled" = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -14,5 +14,7 @@
|
|||||||
./virt.nix
|
./virt.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./hw.nix
|
./hw.nix
|
||||||
|
./radio.nix
|
||||||
|
./chromium.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
hackrf
|
||||||
|
];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -7,9 +11,5 @@
|
|||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
rtl-sdr = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,16 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
iperf3
|
||||||
|
speedtest-cli
|
||||||
|
dhcpcd
|
||||||
|
];
|
||||||
|
|
||||||
|
services = {
|
||||||
|
iperf3 = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
networking = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
firewall = {
|
firewall = {
|
||||||
@ -7,6 +18,7 @@
|
|||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
1337
|
1337
|
||||||
|
5001
|
||||||
8080
|
8080
|
||||||
3000
|
3000
|
||||||
8000
|
8000
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# System utilities
|
# System utilities
|
||||||
unzip
|
unzip
|
||||||
yt-dlp
|
|
||||||
inetutils
|
inetutils
|
||||||
git
|
git
|
||||||
wget
|
wget
|
||||||
@ -33,6 +32,7 @@
|
|||||||
htop
|
htop
|
||||||
btop
|
btop
|
||||||
jq
|
jq
|
||||||
|
ffmpeg
|
||||||
|
|
||||||
# Development & compilers
|
# Development & compilers
|
||||||
rustup
|
rustup
|
||||||
@ -67,7 +67,6 @@
|
|||||||
binwalk
|
binwalk
|
||||||
chirp
|
chirp
|
||||||
picocom
|
picocom
|
||||||
pwndbg
|
|
||||||
minipro
|
minipro
|
||||||
ethtool
|
ethtool
|
||||||
|
|
||||||
@ -93,6 +92,7 @@
|
|||||||
cubicsdr
|
cubicsdr
|
||||||
gqrx
|
gqrx
|
||||||
multimon-ng
|
multimon-ng
|
||||||
|
stellarium
|
||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
cava
|
cava
|
||||||
@ -100,12 +100,14 @@
|
|||||||
pacman
|
pacman
|
||||||
wf-recorder
|
wf-recorder
|
||||||
qbittorrent
|
qbittorrent
|
||||||
|
superTuxKart
|
||||||
|
adwaita-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
terminus-nerdfont
|
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
liberation_ttf
|
liberation_ttf
|
||||||
@ -115,8 +117,9 @@
|
|||||||
mplus-outline-fonts.githubRelease
|
mplus-outline-fonts.githubRelease
|
||||||
dina-font
|
dina-font
|
||||||
proggyfonts
|
proggyfonts
|
||||||
pkgs.nerd-fonts._0xproto
|
nerd-fonts._0xproto
|
||||||
pkgs.nerd-fonts.droid-sans-mono
|
nerd-fonts.droid-sans-mono
|
||||||
|
nerd-fonts.terminess-ttf
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
11
hosts/default/system/radio.nix
Normal file
11
hosts/default/system/radio.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
hardware = {
|
||||||
|
rtl-sdr = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
hackrf = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/default.nix
|
|
||||||
../default/default.nix
|
../default/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -61,9 +60,25 @@
|
|||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
|
"makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
|
||||||
"pacman.conf".source = ../default/raw/pacman.conf;
|
"pacman.conf".text = ''
|
||||||
|
[options]
|
||||||
|
HoldPkg = pacman glibc
|
||||||
|
UseSyslog
|
||||||
|
Color
|
||||||
|
ILoveCandy
|
||||||
|
CheckSpace
|
||||||
|
VerbosePkgLists
|
||||||
|
ParallelDownloads = 5
|
||||||
|
SigLevel = Never
|
||||||
|
|
||||||
|
[dkp-libs]
|
||||||
|
Server = https://pkg.devkitpro.org/packages
|
||||||
|
|
||||||
|
[dkp-linux]
|
||||||
|
Server = https://pkg.devkitpro.org/packages/linux/x86_64/
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "unstable";
|
system.stateVersion = "25.05";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -23,16 +23,15 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/media/STUFF" =
|
||||||
|
{ device = "/dev/disk/by-label/STUFF";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/default.nix
|
|
||||||
../default/default.nix
|
../default/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -51,13 +50,33 @@
|
|||||||
programs = {
|
programs = {
|
||||||
nix-ld.enable = true;
|
nix-ld.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
|
dconf = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
|
"makepkg.conf".source = "${pkgs.pacman}/etc/makepkg.conf";
|
||||||
"pacman.conf".source = ../default/raw/pacman.conf;
|
"pacman.conf".text = ''
|
||||||
|
[options]
|
||||||
|
HoldPkg = pacman glibc
|
||||||
|
UseSyslog
|
||||||
|
Color
|
||||||
|
ILoveCandy
|
||||||
|
CheckSpace
|
||||||
|
VerbosePkgLists
|
||||||
|
ParallelDownloads = 5
|
||||||
|
SigLevel = Never
|
||||||
|
|
||||||
|
[dkp-libs]
|
||||||
|
Server = https://pkg.devkitpro.org/packages
|
||||||
|
|
||||||
|
[dkp-linux]
|
||||||
|
Server = https://pkg.devkitpro.org/packages/linux/x86_64/
|
||||||
|
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "unstable";
|
system.stateVersion = "25.05";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -19,10 +19,14 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-label/ESP";
|
{ device = "/dev/disk/by-uuid/9AA3-DC16";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
fileSystems."/media/STUFF" =
|
||||||
|
{ device = "/dev/disk/by-label/STUFF";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user