Compare commits

...

29 Commits

Author SHA1 Message Date
Sojus07
c3aba30c34 add yt-dlp 2025-04-11 02:30:51 +02:00
Sojus07
160ea2abc7 pepega 2025-04-02 15:16:52 +02:00
Sojus07
4747ba1c58 pepega 2025-04-02 15:01:09 +02:00
Sojus07
a4a76bd91f MonkaS 2025-03-27 22:58:48 +01:00
Sojus07
9999dc3baf add yt-dlp 2025-03-27 22:40:59 +01:00
Sojus07
009edeb259 removed yt-dlp 2025-03-27 22:33:05 +01:00
Sojus07
617119491f Add Adwaita and dconf 2025-03-19 18:27:28 +01:00
Sojus07
76bb9c4d60 DUHHHH 2025-03-16 19:41:33 +01:00
Sojus07
fb10bb05eb Add Chromium setting 2025-03-12 16:59:11 +01:00
Sojus07
bfaf0a1b9c Add Chromium 2025-03-12 13:43:16 +01:00
Sojus07
9c00f3c466 Add package hackrf 2025-03-12 13:39:54 +01:00
Sojus07
5823b2d534 ADD HACKRF and radio.nix 2025-03-12 13:27:36 +01:00
Sojus07
f67ce54e8a YEAH 2025-03-08 23:24:13 +01:00
Sojus07
c6bf052da6 YEAH 2025-03-03 12:46:38 +01:00
Sojus07
a7a9e9fd6a YEAH 2025-03-02 14:55:49 +01:00
Sojus07
89f10fbf63 SKIBIDI TOILET 2025-02-25 22:35:08 +01:00
Sojus07
ec50143a97 SKIBIDI TOILET 2025-02-25 22:33:40 +01:00
Sojus07
68f9f0afb0 SKIBIDI TOILET 2025-02-25 22:10:36 +01:00
Sojus07
eb10424ccf Add DHCPCD 2025-02-25 17:54:49 +01:00
Sojus07
21feb914f0 Add STUFF to hwc.nix 2025-02-25 15:39:49 +01:00
Sojus07
40e02f8ece Disabled Firewall 2025-02-25 15:38:36 +01:00
Sojus07
5834779d2b Enabled Firewall 2025-02-25 14:24:00 +01:00
Sojus07
f1a7bf0b6b kekl 2025-02-23 16:55:41 +01:00
Sojus07
5443a41016 kekl 2025-02-23 14:35:21 +01:00
Sojus07
20ff1d16dd kekl 2025-02-20 02:22:28 +01:00
Sojus07
3c0a5834b0 kekl 2025-02-18 23:39:33 +01:00
Sojus07
42130edad6 kekl 2025-02-18 23:30:47 +01:00
Sojus07
510f3b41db kekl 2025-02-18 22:13:01 +01:00
Sojus07
2c8b799325 kekl 2025-02-18 22:10:07 +01:00
21 changed files with 236 additions and 129 deletions

View File

@ -14,10 +14,10 @@
home-manager,
nvf,
}: {
nixosConfigurations.computer = nixpkgs.lib.nixosSystem {
nixosConfigurations.sputnik = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/computer/configuration.nix
./hosts/sputnik/configuration.nix
nvf.nixosModules.default
home-manager.nixosModules.home-manager
{
@ -30,10 +30,10 @@
];
};
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
nixosConfigurations.meteor = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/laptop/configuration.nix
./hosts/meteor/configuration.nix
nvf.nixosModules.default
home-manager.nixosModules.home-manager
{

View File

@ -72,6 +72,7 @@
};
};
lsp = {
lspkind.enable = true;
trouble = {
enable = true;
};

View File

@ -1,9 +1,21 @@
local cmp = require("cmp")
local lspkind = require("lspkind")
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
cmp.setup({
snippet = {
expand = function(args)
require('luasnip').lsp_expand(args.body)
formatting = {
format = function(entry, vim_item)
vim_item.menu = ({
nvim_lsp = "[LSP]",
buffer = "[BUF]",
path = "[PATH]",
luasnip = "[SNIP]",
nvim_lua = "[LUA]",
})[entry.source.name]
vim_item.kind = lspkind.symbolic(vim_item.kind, { mode = "symbol" })
return vim_item
end,
},
sorting = {
@ -18,8 +30,17 @@ cmp.setup({
},
},
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),
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)
@ -51,9 +72,6 @@ cmp.setup({
{ name = 'buffer' },
{ name = 'path' },
{ name = 'nvim_lua' },
{ name = 'emoji' },
}),
highlight = {
default = "Subtle"
},
})

View File

@ -1,11 +1,11 @@
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.cursorline = true
vim.opt.cursorcolumn = true
vim.opt.expandtab = true
vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.softtabstop = 4
vim.opt.softtabstop = 2
vim.opt.relativenumber = true
vim.diagnostic.config({

View File

@ -24,8 +24,11 @@
".wp/wolf.png".source = ./raw/wp/wolf.png;
".wp/nixos_dark.png".source = ./raw/wp/nixos_dark.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/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;
};
};
}

View File

@ -14,14 +14,12 @@
type "pipewire"
name "Pipewire Output"
}
audio_output {
type "fifo"
name "Visualizer feed"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
'';
};
};
@ -29,32 +27,58 @@
programs = {
ncmpcpp = {
enable = true;
package = pkgs.ncmpcpp.override { visualizerSupport = true; };
mpdMusicDir = "/home/fabian/.music";
bindings = [
];
settings = {
ncmpcpp_directory = "~/.ncmpcpp";
mpd_host = "localhost";
mpd_port = 6600;
header_window_color = "cyan";
progressbar_look = "";
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 = "";
mpd_crossfade_time = 2;
mouse_support = "yes";
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "my_fifo";
header_visibility = false;
statusbar_visibility = true;
titles_visibility = true;
visualizer_in_stereo = "no";
visualizer_type = "spectrum";
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";
};
};
};

View File

@ -21,13 +21,12 @@
bind t new-window
bind -n M-w previous-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-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
set-option -s status-interval 1
set -g status-left-length 100
set -g status-right-length 100
set -g status-position top
@ -37,8 +36,6 @@
set -g @plugin 'o0th/tmux-nova'
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-border-style "#282a36"
@ -69,7 +66,6 @@
run-shell ~/.tmux/plugins/tmux-nova/nova.tmux
run '~/.tmux/plugins/tpm/tpm'
'';
};
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 MiB

View File

@ -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/

View 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;
};
};
}

View File

@ -14,5 +14,7 @@
./virt.nix
./boot.nix
./hw.nix
./radio.nix
./chromium.nix
];
}

View File

@ -1,5 +1,9 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
hackrf
];
hardware = {
bluetooth = {
enable = true;
@ -7,9 +11,5 @@
graphics = {
enable = true;
};
rtl-sdr = {
enable = true;
};
};
}

View File

@ -1,5 +1,16 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
iperf3
speedtest-cli
dhcpcd
];
services = {
iperf3 = {
enable = true;
};
};
networking = {
networkmanager.enable = true;
firewall = {
@ -7,6 +18,7 @@
allowedTCPPorts = [
80
1337
5001
8080
3000
8000

View File

@ -3,7 +3,6 @@
environment.systemPackages = with pkgs; [
# System utilities
unzip
yt-dlp
inetutils
git
wget
@ -33,6 +32,7 @@
htop
btop
jq
ffmpeg
# Development & compilers
rustup
@ -67,7 +67,6 @@
binwalk
chirp
picocom
pwndbg
minipro
ethtool
@ -93,6 +92,7 @@
cubicsdr
gqrx
multimon-ng
stellarium
# Miscellaneous
cava
@ -100,12 +100,14 @@
pacman
wf-recorder
qbittorrent
superTuxKart
adwaita-icon-theme
];
fonts = {
fontconfig.enable = true;
packages = with pkgs; [
terminus-nerdfont
noto-fonts
noto-fonts-emoji
liberation_ttf
@ -115,8 +117,9 @@
mplus-outline-fonts.githubRelease
dina-font
proggyfonts
pkgs.nerd-fonts._0xproto
pkgs.nerd-fonts.droid-sans-mono
nerd-fonts._0xproto
nerd-fonts.droid-sans-mono
nerd-fonts.terminess-ttf
];
};

View File

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
hardware = {
rtl-sdr = {
enable = true;
};
hackrf = {
enable = true;
};
};
}

View File

@ -9,7 +9,6 @@
imports = [
./hardware-configuration.nix
./modules/default.nix
../default/default.nix
];
@ -61,9 +60,25 @@
environment.etc = {
"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";
}

View File

@ -24,15 +24,14 @@
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/media/STUFF" =
{ device = "/dev/disk/by-label/STUFF";
fsType = "ext4";
};
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.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View File

@ -9,7 +9,6 @@
imports = [
./hardware-configuration.nix
./modules/default.nix
../default/default.nix
];
@ -51,13 +50,33 @@
programs = {
nix-ld.enable = true;
fish.enable = true;
dconf = {
enable = true;
};
};
environment.etc = {
"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";
}

View File

@ -19,10 +19,14 @@
};
fileSystems."/boot" =
{ device = "/dev/disk/by-label/ESP";
{ device = "/dev/disk/by-uuid/9AA3-DC16";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/media/STUFF" =
{ device = "/dev/disk/by-label/STUFF";
fsType = "ext4";
};
swapDevices = [ ];