🔧 few moderate changes
more polybar capsules readme: added showcase for alacritty and other stuff added theme skin for element alacritty shades of purple theme user.js: tryed to limit firefox for 165hz but still runs at 60fps added gimp added nvim config, soon i'll be switching to it
This commit is contained in:
parent
016716dc6e
commit
27d55ea981
BIN
alacritty.png
Normal file
BIN
alacritty.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 72 KiB |
BIN
element.png
Normal file
BIN
element.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 272 KiB |
|
@ -7,9 +7,9 @@
|
|||
mumble # voip
|
||||
element-desktop # fully featured matrix client
|
||||
#gomuks # tui matrix client
|
||||
cinny-desktop
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
7
etc/apps/graphics.nix
Normal file
7
etc/apps/graphics.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
#krita
|
||||
gimp
|
||||
];
|
||||
}
|
|
@ -5,5 +5,27 @@
|
|||
jamesdsp
|
||||
yt-dlp
|
||||
picard # audio metadata
|
||||
ncmpc
|
||||
mpd
|
||||
];
|
||||
|
||||
home-manager.users.grape = {
|
||||
services.mpd-mpris = {
|
||||
enable = false;
|
||||
mpd = {
|
||||
useLocal = true;
|
||||
};
|
||||
};
|
||||
# running it via home manager, as by default it has no permission to access my audio drivers
|
||||
services.mpd = {
|
||||
enable = false;
|
||||
musicDirectory = "/home/grape/Music";
|
||||
playlistDirectory = "/home/grape/Music/playlists";
|
||||
network = {
|
||||
port = 6600;
|
||||
listenAddress = "127.0.0.1";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -5,14 +5,8 @@
|
|||
logseq
|
||||
inputs.romodoro.packages.x86_64-linux.default
|
||||
taskwarrior-tui
|
||||
#inputs.dttyper.packages.x86_64-linux.default
|
||||
#(pkgs.callPackage ./dttyper/default.nix { })
|
||||
#(pkgs.callPackage ./romodoro/default.nix { })
|
||||
#(pkgs.callPackage ./goki/default.nix { })
|
||||
|
||||
|
||||
inputs.dttyper.packages.x86_64-linux.default
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -8,10 +8,33 @@
|
|||
family = "Jetbrains Mono Nerd font";
|
||||
style = "Regular";
|
||||
};
|
||||
#shell.program = "${pkgs.zsh}";
|
||||
colors.primary = {
|
||||
foreground = "#ffffff";
|
||||
background = "#191830";
|
||||
|
||||
colors = {
|
||||
primary.background = "0x1E1E3F";
|
||||
primary.foreground = "0xE1EFFF";
|
||||
|
||||
cursor.text = "0x1E1E3F";
|
||||
cursor.cursor = "0xFAD000";
|
||||
|
||||
# Normal colors
|
||||
normal.black = "0x000000";
|
||||
normal.red = "0xEC3A37";
|
||||
normal.green = "0x75e44c";
|
||||
normal.yellow = "0xFAD000";
|
||||
normal.blue = "0x6943FF";
|
||||
normal.magenta = "0xFF2C70";
|
||||
normal.cyan = "0x80FCFF";
|
||||
normal.white = "0xFFFFFF";
|
||||
|
||||
# Bright colors
|
||||
bright.black = "0x5C5C61";
|
||||
bright.red = "0xEC3A37";
|
||||
bright.green = "0x3AD900";
|
||||
bright.yellow = "0xFAD000";
|
||||
bright.blue = "0x6943FF";
|
||||
bright.magenta = "0xFB94FF";
|
||||
bright.cyan = "0x80FCFF";
|
||||
bright.white = "0x2D2B55";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
19
etc/configs/builders.nix
Normal file
19
etc/configs/builders.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
nix.buildMachines =
|
||||
[{
|
||||
hostName = "pink";
|
||||
system = "x86_64-linux";
|
||||
protocol = "ssh-ng";
|
||||
maxJobs = 3;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
mandatoryFeatures = [ ];
|
||||
}];
|
||||
# required, otherwise remote buildMachines above aren't used
|
||||
nix.distributedBuilds = true;
|
||||
# optional, useful when the builder has a faster internet connection than yours
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
}
|
55
etc/configs/element.nix
Normal file
55
etc/configs/element.nix
Normal file
|
@ -0,0 +1,55 @@
|
|||
{ pkgs, ... }: {
|
||||
# https://github.com/element-hq/element-web/blob/develop/config.sample.json
|
||||
home-manager.users.grape.home.file.".config/Element/config.json" = {
|
||||
enable = true;
|
||||
text = ''
|
||||
{
|
||||
"default_theme": "Purple",
|
||||
"setting_defaults": {
|
||||
"breadcrumbs": true,
|
||||
"custom_themes": [
|
||||
{
|
||||
"name": "Purple",
|
||||
"is_dark": true,
|
||||
"colors": {
|
||||
"accent-color": "#FAd000",
|
||||
"primary-color": "#FFF",
|
||||
"warning-color": "#ec3a37f5",
|
||||
"sidebar-color": "#192030",
|
||||
"roomlist-background-color": "#131327",
|
||||
"roomlist-text-color": "#FFF",
|
||||
"roomlist-text-secondary-color": "#00ff00",
|
||||
"roomlist-highlights-color": "#00000030",
|
||||
"roomlist-separator-color": "#4d4d4d90",
|
||||
"timeline-background-color": "#191830",
|
||||
"timeline-text-color": "#fff",
|
||||
"secondary-content": "#fff",
|
||||
"tertiary-content": "#7870ab",
|
||||
"quinary-content": "#fad000",
|
||||
"timeline-text-secondary-color": "#FAD000",
|
||||
"timeline-highlights-color": "#00000030",
|
||||
"reaction-row-button-selected-bg-color": "#689d6a",
|
||||
"menu-selected-color": "#fad000",
|
||||
"icon-button-color": "#fad000",
|
||||
"accent": "#689d6a",
|
||||
"alert": "#cc241d",
|
||||
"username-colors": [
|
||||
"#FAD000",
|
||||
"#ff7200",
|
||||
"#35ad68",
|
||||
"#5d37f0",
|
||||
"#80fcff",
|
||||
"#3ad900",
|
||||
"#b362ff",
|
||||
"#fff"
|
||||
],
|
||||
"avatar-background-colors": ["#458588", "#b16286", "#689d6a"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
|
@ -103,6 +103,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.runCommand "gpu-screen-recorder"
|
||||
{
|
||||
|
|
|
@ -119,7 +119,12 @@ in
|
|||
|
||||
# disable stupid and ugly title bars
|
||||
# and for some reason client.active doesnt change the colors...
|
||||
extraConfig = "default_border pixel 4\n default_floating_border pixel 1 \n client.focused #FAD000 #285577 #ffffff #FAD000 #FAD000 \n client.focused_inactive #063340 #141414 #000000 #121212 #063340";
|
||||
extraConfig = ''
|
||||
default_border pixel 4
|
||||
default_floating_border pixel 1
|
||||
client.focused #FAD000 #285577 #ffffff #FAD000 #FAD000
|
||||
client.focused_inactive #063340 #141414 #000000 #121212 #063340
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
122
etc/configs/nvim.nix
Normal file
122
etc/configs/nvim.nix
Normal file
|
@ -0,0 +1,122 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
#TODO floaterm
|
||||
|
||||
# test tool
|
||||
plugins.neotest = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# TODO nvim-lspconfig
|
||||
|
||||
# a snippet engine
|
||||
plugins.luasnip = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# TODO lsp_signature idk if it exists
|
||||
#plugins.lsp_signature = {
|
||||
# enable = true;
|
||||
#};
|
||||
|
||||
|
||||
# TODO gen.nvim not in nixvim
|
||||
|
||||
# highlites colors (like #FFF)
|
||||
plugins.nvim-colorizer = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# todo-comments
|
||||
|
||||
# TODO feline-nvim and theme for it
|
||||
|
||||
# inline git blame
|
||||
plugins.gitsigns = {
|
||||
enable = true;
|
||||
settings = {
|
||||
current_line_blame = true;
|
||||
trouble = true;
|
||||
};
|
||||
};
|
||||
|
||||
# inline error display
|
||||
plugins.trouble = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
#plugins.nvimtree.enable = true;
|
||||
|
||||
# when adding " or any letter the selected word gets wrapped in it
|
||||
plugins.surround.enable = true;
|
||||
|
||||
# file explorer
|
||||
plugins.chadtree = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# a cool summary searcher
|
||||
plugins.navbuddy.enable = true;
|
||||
|
||||
# language server
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
servers.rust-analyzer = {
|
||||
enable = false;
|
||||
# for devshells
|
||||
installRustc = false;
|
||||
installCargo = false;
|
||||
};
|
||||
};
|
||||
|
||||
# a completion engine using LSP
|
||||
# TODO language detection
|
||||
plugins.coq-nvim = {
|
||||
enable = true;
|
||||
installArtifacts = true;
|
||||
settings.completion.always = true;
|
||||
# TODO start with nvim
|
||||
};
|
||||
|
||||
# languages
|
||||
plugins.rustaceanvim.enable = true;
|
||||
plugins.nix.enable = true;
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
key = "<leader>v";
|
||||
action = "<cmd>CHADopen --always-focus<cr>";
|
||||
}
|
||||
{
|
||||
key = "<leader>e";
|
||||
action = "<cmd>CHADopen<cr>";
|
||||
}
|
||||
];
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
};
|
||||
globals.mapleader = " ";
|
||||
|
||||
# TODO shades of purple colorscheme
|
||||
extraPlugins = [ pkgs.vimPlugins.gruvbox ];
|
||||
colorscheme = "gruvbox";
|
||||
# extraPlugins = [
|
||||
# pkgs.vimUtils.buildVimPlugin
|
||||
# {
|
||||
# pname = "shades-of-purple";
|
||||
# version = "1.1.1";
|
||||
# src = pkgs.fetchFromGitHub {
|
||||
# owner = "Rigellute";
|
||||
# repo = "shades-of-purple.vim";
|
||||
# rev = "e806d38190a6a2e8b9244824c2953d6567f141f3";
|
||||
# hash = "sha256-iiGASgVlIXnnUNBlp9viKgDBfHiOP5P/yJx9XyELT9g=";
|
||||
# };
|
||||
# buildScript = ":";
|
||||
# }
|
||||
# ];
|
||||
|
||||
};
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
ollama
|
||||
];
|
||||
services.ollama.enable = true;
|
||||
services.ollama.enable = false;
|
||||
services.ollama.acceleration = "cuda";
|
||||
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
backend = "glx";
|
||||
vSync = false; # disable vsync to reduce input delay
|
||||
extraArgs = [ "-b" "--experimental-backends" ]; # enable deamon mode and experimental backends for blur
|
||||
|
||||
# idk what package is missing by 24.05 so i included all of them
|
||||
package =
|
||||
(pkgs.picom.overrideAttrs (oldAttrs: rec {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
|
@ -13,7 +15,35 @@
|
|||
rev = "da21aa8ef70f9796bc8609fb495c3a1e02df93f9";
|
||||
hash = "sha256-rxGWAot+6FnXKjNZkMl1uHHHEMVSxm36G3VoV1vSXLA=";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
dbus
|
||||
libconfig
|
||||
libdrm
|
||||
libev
|
||||
libGL
|
||||
xorg.libX11
|
||||
xorg.libxcb
|
||||
libxdg_basedir
|
||||
xorg.libXext
|
||||
xorg.libXinerama
|
||||
libxml2
|
||||
libxslt
|
||||
pcre
|
||||
pixman
|
||||
xorg.xcbutilimage
|
||||
xorg.xcbutilrenderutil
|
||||
xorg.xorgproto
|
||||
];
|
||||
nativeBuildInputs = with pkgs; [
|
||||
asciidoc
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
makeWrapper
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
uthash
|
||||
];
|
||||
}));
|
||||
|
||||
settings = {
|
||||
|
@ -28,9 +58,6 @@
|
|||
"window_type = 'desktop'"
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
"class_g ~= 'slop'"
|
||||
"class_g ~= 'Warframe.x64.exe'"
|
||||
"class_g ~= 'Warframe.x64.ex'"
|
||||
"class_g ~= 'Warframe'"
|
||||
"class_g ~= 'Peek'"
|
||||
];
|
||||
|
||||
|
@ -45,6 +72,7 @@
|
|||
"80:class_g *= 'rofi'"
|
||||
"80:class_g *= 'lutris'"
|
||||
"80:class_g *= 'Mumble'"
|
||||
"80:class_g *= 'Element'"
|
||||
"85:class_g *= 'Logseq'"
|
||||
"85:class_g *= 'Codium'"
|
||||
];
|
||||
|
|
|
@ -21,8 +21,8 @@ in
|
|||
|
||||
home-manager.users.grape.services.polybar = {
|
||||
enable = true;
|
||||
script = "polybar --reload";
|
||||
# Nix is great and all.. but this is a bit too execsive
|
||||
script = "${script}/polybar.sh";
|
||||
|
||||
config = {
|
||||
"module/date" = {
|
||||
type = "internal/date";
|
||||
|
@ -35,9 +35,8 @@ in
|
|||
label-foreground = "${colors.fg}";
|
||||
};
|
||||
|
||||
#
|
||||
# Labels
|
||||
#
|
||||
# TODO include labels right into format for each module instea dof having a different module
|
||||
|
||||
"module/s" = {
|
||||
type = "custom/text";
|
||||
label = " | ";
|
||||
|
@ -70,30 +69,13 @@ in
|
|||
label = "DAT ";
|
||||
label-foreground = "${ colors. seperatorColor}";
|
||||
};
|
||||
#
|
||||
# End of labels
|
||||
#
|
||||
|
||||
"module/ewmh" = {
|
||||
type = "internal/xworkspaces";
|
||||
pin-workspaces = false;
|
||||
label-active-foreground = "${colors.currentWorkspace}";
|
||||
};
|
||||
|
||||
"module/wired-network" = {
|
||||
type = "internal/network";
|
||||
interface = "eno2";
|
||||
interval = ".5";
|
||||
label-connected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
|
||||
label-foreground = "${colors.fg}";
|
||||
};
|
||||
"module/wireless-network" = {
|
||||
type = "internal/network";
|
||||
interface = "wlo1";
|
||||
interval = ".5";
|
||||
label-connected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
|
||||
label-foreground = "${colors.fg}";
|
||||
};
|
||||
|
||||
"module/cpu-temp" = {
|
||||
type = "internal/temperature";
|
||||
format = "%{F${colors.seperatorColor}}CPU%{F-} <label> ";
|
||||
|
@ -150,20 +132,6 @@ in
|
|||
label-muted-foreground = "${colors.altfg}";
|
||||
};
|
||||
|
||||
|
||||
"module/replay" = {
|
||||
type = "custom/script";
|
||||
exec = "~/.config/scripts/status.sh";
|
||||
interval = 1;
|
||||
click-left = "~/.config/scripts/select_replay_windows.sh";
|
||||
click-middle = "~/.config/scripts/save_replay.sh";
|
||||
click-right = "~/.config/scripts/stop_replay.sh";
|
||||
|
||||
scroll-up = "~/.config/scripts/select_replay_windows.sh";
|
||||
scroll-down = "~/.config/scripts/start_replay.sh";
|
||||
};
|
||||
|
||||
|
||||
"module/music" = {
|
||||
type = "custom/script";
|
||||
interval = ".5";
|
||||
|
@ -171,16 +139,6 @@ in
|
|||
format = "<label>";
|
||||
};
|
||||
|
||||
"module/cava" = {
|
||||
type = "custom/script";
|
||||
tail = "true";
|
||||
exec = "$HOME/.config/scripts/cava.sh";
|
||||
format = "<label>";
|
||||
format-font = 5;
|
||||
label-foreground = "${colors.fg}";
|
||||
label = " %{T1}%output%%{T-}";
|
||||
};
|
||||
|
||||
"fs-base" = {
|
||||
type = "internal/fs";
|
||||
label-unmounted = "?";
|
||||
|
@ -196,8 +154,6 @@ in
|
|||
label-mounted = "%free%(%total%)";
|
||||
};
|
||||
|
||||
|
||||
|
||||
"module/fs-data" = {
|
||||
"inherit" = "fs-base";
|
||||
mount-0 = "/mnt/terra";
|
||||
|
@ -248,11 +204,10 @@ in
|
|||
border-color = "${colors.invisible}";
|
||||
|
||||
# Displayed modules
|
||||
modules-left = "date s keyboard s ewmh s wired-network wireless-network ";
|
||||
modules-left = "date s keyboard s ewmh";
|
||||
#modules-center = "cava";
|
||||
|
||||
# TODO Add gpu usage and temp
|
||||
modules-right = "battery-label battery s fs-label-data fs-data s fs-label-system fs-system s replay-label replay s memory s gpu-label gpu-usage gpu-temp s cpu-temp cpu-usage";
|
||||
modules-right = "battery-label battery s fs-label-data fs-data s fs-label-system fs-system s memory s gpu-label gpu-usage gpu-temp s cpu-temp cpu-usage";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
@ -19,18 +19,17 @@ in
|
|||
{
|
||||
|
||||
home-manager.users.grape.services.polybar = {
|
||||
enable = true;
|
||||
script = "polybar --reload";
|
||||
|
||||
config = {
|
||||
|
||||
"module/cava" = {
|
||||
type = "custom/script";
|
||||
tail = "true";
|
||||
exec = "$HOME/.config/scripts/cava.sh";
|
||||
format = "<label>";
|
||||
exec = "${script}/cava.sh";
|
||||
format = "%{T2}%{F${colors.bg}}%{F-}%{T-}<label>%{T2}%{F${colors.bg}}%{F-}%{T-}";
|
||||
format-font = 5;
|
||||
label-foreground = "${colors.fg}";
|
||||
label-background = "${colors.bg}";
|
||||
label = " %{T1}%output%%{T-}";
|
||||
};
|
||||
|
||||
|
@ -68,6 +67,43 @@ in
|
|||
type = "custom/script";
|
||||
};
|
||||
|
||||
"module/replay" = {
|
||||
type = "custom/script";
|
||||
exec = "~/.config/scripts/status.sh";
|
||||
interval = 1;
|
||||
label-background = "#191830";
|
||||
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}REPLAY %{F-}%{B-}<label>%{T2}%{F#191830}%{F-}%{T-}";
|
||||
};
|
||||
|
||||
"module/wired-network" = {
|
||||
type = "internal/network";
|
||||
interface = "eno2";
|
||||
interval = ".5";
|
||||
format = "%{T2}%{F#191830}%{F-}%{T-}<label>%{T2}%{F#191830}%{F-}%{T-}";
|
||||
label-background = "#191830";
|
||||
format-connected = "%{T2}%{F#191830}%{F-}%{T-}<label-connected>%{T2}%{F#191830}%{F-}%{T-}";
|
||||
format-disconnected = "%{T2}%{F#191830}%{F-}%{T-}%{F${colors.warn}}eno%{F-}%{T2}%{F#191830}%{F-}%{T-}";
|
||||
|
||||
label-connected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
|
||||
label-disconnected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
|
||||
|
||||
label-connected-background = "${colors.bg}";
|
||||
label-disconnected-background = "${colors.bg}";
|
||||
|
||||
};
|
||||
"module/wireless-network" = {
|
||||
type = "internal/network";
|
||||
interface = "wlo1";
|
||||
interval = ".5";
|
||||
format-connected = "%{T2}%{F#191830}%{F-}%{T-}<label-connected>%{T2}%{F#191830}%{F-}%{T-}";
|
||||
format-disconnected = "%{T2}%{F#191830}%{F-}%{T-}%{F${colors.warn}}wlo1%{F-}%{T2}%{F#191830}%{F-}%{T-}";
|
||||
label-background = "#191830";
|
||||
label-connected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
|
||||
|
||||
label-connected-background = "${colors.bg}";
|
||||
label-disconnected-background = "${colors.bg}";
|
||||
};
|
||||
|
||||
|
||||
"bar/bottom" = {
|
||||
background = "#00191830";
|
||||
|
@ -80,7 +116,7 @@ in
|
|||
height = "34";
|
||||
modules-center = "cava";
|
||||
modules-left = "audio-capsule a music-capsule a timew";
|
||||
modules-right = "";
|
||||
modules-right = " wireless-network a replay";
|
||||
padding-left = "5";
|
||||
padding-right = "5";
|
||||
radius = "20";
|
||||
|
|
0
etc/configs/polybar/modules/sysinfo.nix
Normal file
0
etc/configs/polybar/modules/sysinfo.nix
Normal file
|
@ -4,7 +4,9 @@
|
|||
enable = true;
|
||||
font = "Jetbrains Mono";
|
||||
configPath = "$XDG_CONFIG_HOME/rofi/config.rasi";
|
||||
# TODO for some reason the plugin doesn't work
|
||||
plugins = with pkgs; [ rofi-calc rofi-emoji ];
|
||||
plugins = with pkgs; [
|
||||
rofi-calc
|
||||
rofi-emoji
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
|
||||
|
||||
home-manager.users.grape = {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
|
@ -30,11 +27,13 @@
|
|||
usernamehw.errorlens
|
||||
christian-kohler.path-intellisense
|
||||
vscjava.vscode-spring-initializr
|
||||
gruntfuggly.todo-tree
|
||||
|
||||
#themes, icons
|
||||
vscode-icons-team.vscode-icons
|
||||
mechatroner.rainbow-csv
|
||||
|
||||
|
||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
{
|
||||
name = "shades-of-purple";
|
||||
|
@ -42,12 +41,6 @@
|
|||
version = "7.3.2";
|
||||
sha256 = "10q5w9g7ghn2qvdc7h2b79x1vy8nzpnwz8dbg1h03074ikhvjx4v";
|
||||
}
|
||||
{
|
||||
name = "ollama-autocoder";
|
||||
publisher = "10nates";
|
||||
version = "0.0.8";
|
||||
sha256 = "0pxmlhj0isz1qr7pmmlrk6srylgwf6c0wqbp9q2ig0barl2qznai";
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||
|
@ -59,11 +52,7 @@
|
|||
"vim.smartRelativeLine" = true;
|
||||
"rust-analyzer.cargo.sysroot" = "discover";
|
||||
|
||||
# ollama-autocoder
|
||||
"ollama-autocoder.endpoint" = "http://localhost:11434/api/generate";
|
||||
"ollama-autocoder.model" = "qwen:7b";
|
||||
"ollama-autocoder.completion keys" = "ctrl+i";
|
||||
"ollama-autocoder.prompt window size" = 400;
|
||||
|
||||
};
|
||||
languageSnippets = {
|
||||
nix = {
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
./system/essentials.nix
|
||||
./system/shell.nix
|
||||
./system/remap.nix
|
||||
./system/cursor.nix
|
||||
./system/ssd.nix
|
||||
|
||||
# rice and other usefull apps
|
||||
|
@ -47,7 +48,7 @@
|
|||
|
||||
|
||||
# node xporter
|
||||
./configs/prometheus.nix
|
||||
#./configs/prometheus.nix
|
||||
|
||||
|
||||
];
|
||||
|
@ -59,16 +60,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Permitting insecure package for walpepper
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"libav-12.3"
|
||||
];
|
||||
|
||||
# adding flake support
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
home-manager.users.grape = { ... }: {
|
||||
home.stateVersion = "23.11";
|
||||
home.stateVersion = "24.05";
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
|
@ -81,16 +77,6 @@
|
|||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
nix.buildMachines = [
|
||||
{
|
||||
protocol = "ssh";
|
||||
system = "x86_64-linux";
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
sshUser = "root";
|
||||
sshKey = "/home/grape/.ssh/id_rsa";
|
||||
hostName = "pink";
|
||||
}
|
||||
];
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Budapest";
|
||||
|
||||
|
@ -117,5 +103,5 @@
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
rofi
|
||||
rofi-calc
|
||||
#rofi-calc
|
||||
btop
|
||||
polybar
|
||||
#polybar
|
||||
nitrogen
|
||||
ranger
|
||||
neofetch
|
||||
peaclock
|
||||
#peaclock
|
||||
cava
|
||||
bluetuith
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
|||
# work
|
||||
#figma-linux
|
||||
#kdenlive
|
||||
ffmpeg
|
||||
#ffmpeg
|
||||
|
||||
#video-trimmer
|
||||
peek
|
||||
|
@ -44,6 +44,9 @@
|
|||
xdotool
|
||||
jq
|
||||
|
||||
#librewolf
|
||||
#gimp
|
||||
|
||||
];
|
||||
fonts.packages = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||
|
@ -62,11 +65,18 @@
|
|||
./configs/gpu-screen-recorder.nix
|
||||
./configs/firefox.nix
|
||||
|
||||
#./configs/builders.nix
|
||||
./configs/element.nix
|
||||
./configs/nvim.nix
|
||||
|
||||
# terminal
|
||||
#./configs/st.nix # too minimal, most things dont work without a million tweaks
|
||||
#./configs/kitty.nix # uses their own stupid xterm extension...
|
||||
./configs/alacritty.nix # just perfect, tho too much gpu usage
|
||||
|
||||
# apps
|
||||
./apps/graphics.nix
|
||||
|
||||
];
|
||||
|
||||
|
||||
|
|
11
etc/dev.nix
11
etc/dev.nix
|
@ -8,9 +8,9 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
# tools
|
||||
git # version control
|
||||
neovim # cli editor
|
||||
beekeeper-studio # mysql postgres ... client
|
||||
insomnia # http client
|
||||
#neovim # cli editor
|
||||
#beekeeper-studio # mysql postgres ... client
|
||||
#insomnia # http client
|
||||
ungoogled-chromium # for testing vite projects
|
||||
|
||||
#containers
|
||||
|
@ -22,10 +22,13 @@
|
|||
|
||||
# nix pkg fetcher
|
||||
nurl
|
||||
nix-init
|
||||
#nix-init
|
||||
|
||||
# for 3d
|
||||
#blender
|
||||
#dbus
|
||||
#xdg-utils
|
||||
#xdg-launch
|
||||
];
|
||||
|
||||
}
|
||||
|
|
348
etc/flake.lock
348
etc/flake.lock
|
@ -1,99 +1,37 @@
|
|||
{
|
||||
"nodes": {
|
||||
"advisory-db": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1711896428,
|
||||
"narHash": "sha256-cZfXcw6dkd+00dOnD0tD/GLX7gEU/piVUF8SOKRIjf4=",
|
||||
"owner": "rustsec",
|
||||
"repo": "advisory-db",
|
||||
"rev": "799ff4a10673405b2334f6653519fb092aa99845",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rustsec",
|
||||
"repo": "advisory-db",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"agenix": {
|
||||
"inputs": {
|
||||
"darwin": "darwin",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716561646,
|
||||
"narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=",
|
||||
"owner": "ryantm",
|
||||
"repo": "agenix",
|
||||
"rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ryantm",
|
||||
"repo": "agenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane": {
|
||||
"devshell": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"dttyper",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712015038,
|
||||
"narHash": "sha256-opeWL/FPV7nnbfUavSWIDy+N5bUshF2CyJK6beVvjv4=",
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"rev": "b245ee3472cbfd82394047b536e117a32b4c7850",
|
||||
"lastModified": 1717408969,
|
||||
"narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"rev": "1ebbe68d57457c8cae98145410b164b5477761f4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"darwin": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"agenix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1700795494,
|
||||
"narHash": "sha256-gzGLZSiOhf155FW7262kdHo2YDeugp3VuIFb4/GGng0=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "4b9b83d5a92e8c1fbfd8eb27eda375908c11ec4d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "lnl7",
|
||||
"ref": "master",
|
||||
"repo": "nix-darwin",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"dttyper": {
|
||||
"inputs": {
|
||||
"advisory-db": "advisory-db",
|
||||
"crane": "crane",
|
||||
"fenix": "fenix",
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714296615,
|
||||
"narHash": "sha256-M/aws/sr4pl4Lar7JulEYDvAKFm//MByR9H3WVWcAdc=",
|
||||
"lastModified": 1717088823,
|
||||
"narHash": "sha256-0O6UdKp/OmEa0fxfyrJc/xSYLu1Hb18YZ5gML+uEmYQ=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "b7299f7c1c145f8b2b1b4f6f91e5e016db1344cb",
|
||||
"revCount": 1,
|
||||
"rev": "836ad761738f911198b8ae70b622162c432f4439",
|
||||
"revCount": 2,
|
||||
"type": "git",
|
||||
"url": "https://git.4o1x5.dev/4o1x5/dttyper"
|
||||
},
|
||||
|
@ -102,40 +40,67 @@
|
|||
"url": "https://git.4o1x5.dev/4o1x5/dttyper"
|
||||
}
|
||||
},
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"dttyper",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": [
|
||||
"dttyper"
|
||||
]
|
||||
},
|
||||
"flake-compat": {
|
||||
"locked": {
|
||||
"lastModified": 1712038998,
|
||||
"narHash": "sha256-bVIEz07/SLxPRRo+1G0cUd26KhoCj8yQc8myhf/93FM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "b1b59b4d908d3e64a7e923a7b434e94e03626ec0",
|
||||
"lastModified": 1696426674,
|
||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||
"revCount": 57,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696426674,
|
||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717285511,
|
||||
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_2"
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710146030,
|
||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||
"lastModified": 1701680307,
|
||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -144,23 +109,72 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-stable": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717664902,
|
||||
"narHash": "sha256-7XfBuLULizXjXfBYy/VV+SpYMHreNRHk9nKMsm1bgb4=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "cc4d466cb1254af050ff7bdf47f6d404a7c646d1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"git-hooks",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"agenix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1703113217,
|
||||
"narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=",
|
||||
"lastModified": 1717527182,
|
||||
"narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1",
|
||||
"rev": "845a5c4c073f74105022533907703441e0464bc3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-24.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -168,47 +182,67 @@
|
|||
"home-manager_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716729592,
|
||||
"narHash": "sha256-Y3bOjoh2cFBqZN0Jw1zUdyr7tjygyxl2bD/QY73GZP0=",
|
||||
"lastModified": 1717525419,
|
||||
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2c78a57c544dd19b07442350727ced097e1aa6e6",
|
||||
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.11",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-darwin": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716993688,
|
||||
"narHash": "sha256-vo5k2wQekfeoq/2aleQkBN41dQiQHNTniZeVONWiWLs=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "c0d5b8c54d6828516c97f6be9f2d00c63a363df4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1703013332,
|
||||
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
||||
"lastModified": 1716948383,
|
||||
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
||||
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1716509168,
|
||||
"narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=",
|
||||
"lastModified": 1716948383,
|
||||
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "bfb7a882678e518398ce9a31a881538679f6f092",
|
||||
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -219,37 +253,21 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1711715736,
|
||||
"narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=",
|
||||
"lastModified": 1717555607,
|
||||
"narHash": "sha256-WZ1s48OODmRJ3DHC+I/DtM3tDRuRJlNqMvxvAPTD7ec=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "807c549feabce7eddbf259dbdcec9e0600a0660d",
|
||||
"rev": "0b8e7a1ae5a94da2e1ee3f3030a32020f6254105",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1716633019,
|
||||
"narHash": "sha256-xim1b5/HZYbWaZKyI7cn9TJCM6ewNVZnesRr00mXeS4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9d29cd266cebf80234c98dd0b87256b6be0af44e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-23.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1716137900,
|
||||
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
||||
|
@ -264,6 +282,34 @@
|
|||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixvim": {
|
||||
"inputs": {
|
||||
"devshell": "devshell",
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"git-hooks": "git-hooks",
|
||||
"home-manager": "home-manager_2",
|
||||
"nix-darwin": "nix-darwin",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717677834,
|
||||
"narHash": "sha256-1bKEl+4U9mu0357P1Neqt5AE46zqTuT/0qzxoZ0dNyo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "2c25e77d8265a1b473a671d0cb5598c1830d94c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixvim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nvidia-patch": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -287,7 +333,7 @@
|
|||
},
|
||||
"romodoro": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_4"
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716331053,
|
||||
|
@ -302,11 +348,11 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"dttyper": "dttyper",
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"nixvim": "nixvim",
|
||||
"nvidia-patch": "nvidia-patch",
|
||||
"romodoro": "romodoro"
|
||||
}
|
||||
|
@ -341,24 +387,30 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_3": {
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"lastModified": 1717278143,
|
||||
"narHash": "sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "3eb96ca1ae9edf792a8e0963cc92fddfa5a87706",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_3"
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710146030,
|
||||
|
|
|
@ -2,21 +2,25 @@
|
|||
description = "A simple NixOS flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; # default packages
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; # default packages
|
||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; # unstable branch for newer packages
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.11";
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
}; # home manger for more customization
|
||||
# adding nvidia-patch for nvenc and nvfvc
|
||||
nvidia-patch.url = "github:icewind1991/nvidia-patch-nixos";
|
||||
nvidia-patch.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nvidia-patch = {
|
||||
url = "github:icewind1991/nvidia-patch-nixos";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
dttyper.url = "git+https://git.4o1x5.dev/4o1x5/dttyper";
|
||||
#romodoro.url = "git+https://git.4o1x5.dev/4o1x5/romodoro";
|
||||
romodoro.url = "path:/home/grape/code/romodoro";
|
||||
#dttyper.url = "git+https://git.somehost.tld/user/path?ref=branch";
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim/nixos-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
@ -27,11 +31,11 @@
|
|||
, nvidia-patch
|
||||
, dttyper
|
||||
, romodoro
|
||||
, nixvim
|
||||
, ...
|
||||
}@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
#colors = import ./configs/colors.nix;
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||||
};
|
||||
|
@ -49,9 +53,9 @@
|
|||
];
|
||||
})
|
||||
|
||||
#dttyper.nixosModules.default
|
||||
./system/drivers/shitvidia-patch.nix
|
||||
./configuration.nix
|
||||
nixvim.nixosModules.nixvim
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
@ -3,10 +3,9 @@
|
|||
|
||||
environment.systemPackages = with pkgs;[
|
||||
# minecraft
|
||||
prismlauncher
|
||||
#prismlauncher
|
||||
# not so epic games
|
||||
heroic
|
||||
# lol
|
||||
(lutris.override {
|
||||
extraPkgs = pkgs: [
|
||||
pkgs.winePackages.base
|
||||
|
@ -14,16 +13,16 @@
|
|||
})
|
||||
];
|
||||
# enabling java for mc
|
||||
programs.java = { enable = true; package = pkgs.jdk17; };
|
||||
#programs.java = { enable = true; package = pkgs.jdk17; };
|
||||
|
||||
# steam
|
||||
# To add another drive:
|
||||
# 1. open steam steam://open/console in browser
|
||||
# 2. library_folder_add "/path/to/drive"
|
||||
programs.steam.enable = true;
|
||||
|
||||
programs.firejail = {
|
||||
wrappedBinaries = {
|
||||
|
||||
# To add another drive:
|
||||
# 1. open steam steam://open/console in browser
|
||||
# 2. library_folder_add "/path/to/drive"
|
||||
steam = {
|
||||
executable = "${pkgs.steam}/bin/steam";
|
||||
profile = "${pkgs.firejail}/etc/firejail/steam.profile";
|
||||
|
@ -33,11 +32,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
#heroic = {
|
||||
# executable = "${pkgs.heroic}/bin/heroic";
|
||||
# profile = "${pkgs.firejail}/etc/firejail/steam.profile";
|
||||
# desktop = "${pkgs.heroic}/share/applications/steam.desktop";
|
||||
#};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" ];
|
||||
|
@ -14,25 +15,27 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/7610257f-16f7-41c2-a0d9-4e9f08f2b3e9";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/7610257f-16f7-41c2-a0d9-4e9f08f2b3e9";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-bbb8e429-bee1-4b5e-8ce8-c54f5f4f29a2".device = "/dev/disk/by-uuid/bbb8e429-bee1-4b5e-8ce8-c54f5f4f29a2";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/4362-33EF";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/4362-33EF";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/terra" =
|
||||
{ device = "/dev/disk/by-uuid/f2b24250-0cf5-43d4-806f-7f024922781a";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/f2b24250-0cf5-43d4-806f-7f024922781a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/c680b02d-7de7-4cd7-855b-daec64833e3b"; }
|
||||
];
|
||||
[{ device = "/dev/disk/by-uuid/c680b02d-7de7-4cd7-855b-daec64833e3b"; }];
|
||||
|
||||
# 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
|
||||
|
|
|
@ -127,8 +127,12 @@ user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
|||
user_pref("browser.discovery.enabled", false);
|
||||
/* 0323: disable shopping experience [FF116+]
|
||||
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1840156#c0 ***/
|
||||
|
||||
user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
|
||||
|
||||
// 165hz unlock
|
||||
user_pref("layout.frame_rate", 165);
|
||||
|
||||
/** TELEMETRY ***/
|
||||
/* 0330: disable new data submission [FF41+]
|
||||
* If disabled, no policy is shown or upload takes place, ever
|
||||
|
|
|
@ -1,23 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
home.pointerCursor =
|
||||
let
|
||||
getFrom = url: hash: name: {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
name = name;
|
||||
size = 48;
|
||||
package =
|
||||
pkgs.runCommand "moveUp" { } ''
|
||||
mkdir -p $out/share/icons
|
||||
ln -s ${pkgs.fetchzip {
|
||||
url = url;
|
||||
hash = hash;
|
||||
}} $out/share/icons/${name}
|
||||
'';
|
||||
};
|
||||
in
|
||||
getFrom
|
||||
"https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.0/Fuchsia-Pop.tar.gz"
|
||||
"sha256-BvVE9qupMjw7JRqFUj1J0a4ys6kc9fOLBPx2bGaapTk="
|
||||
"Fuchsia-Pop";
|
||||
home-manager.users.grape.home.pointerCursor = {
|
||||
name = "oreo-cursors-plus";
|
||||
package = pkgs.oreo-cursors-plus;
|
||||
gtk.enable = true;
|
||||
size = 16;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,23 +1,14 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
};
|
||||
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
};
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
windowManager.i3.enable = true;
|
||||
excludePackages = [
|
||||
pkgs.xterm
|
||||
];
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
xkb.layout = "us";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
busybox
|
||||
doas
|
||||
blueman
|
||||
|
||||
# for monitoring cpu and other temps
|
||||
lm_sensors
|
||||
];
|
||||
|
||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,29 +1,15 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
lolcat # cool colors
|
||||
figlet # ascii generator
|
||||
];
|
||||
|
||||
# setting zsh as default shell
|
||||
users.users.grape.shell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
|
||||
home-manager.users.grape = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
#defaultKeymap = "vicmd";
|
||||
# TODO fix keymapping, so shortcuts like CTRL + A work...
|
||||
shellAliases = {
|
||||
# essentials
|
||||
la = "ls -a";
|
||||
sudo = "doas";
|
||||
|
||||
update = "doas nixos-rebuild switch --impure";
|
||||
update-remote = "doas nixos-rebuild switch --impure --build-host root@32.54.31.181";
|
||||
|
||||
|
||||
hvec-to-h265 = "~/.config/scripts/hvec_h264.sh";
|
||||
|
||||
# docker
|
||||
dc = "docker compose";
|
||||
|
@ -37,32 +23,26 @@
|
|||
dev = "nix develop --command zsh";
|
||||
|
||||
# ssh
|
||||
pink = "ssh pink@32.54.31.99";
|
||||
pink = "ssh root@32.54.31.99";
|
||||
yellow = "ssh root@32.54.31.5";
|
||||
carbon = "ssh carbon@32.54.31.180";
|
||||
lime = "ssh lime@32.54.31.241";
|
||||
carbon = "ssh root@32.54.31.180";
|
||||
lime = "ssh root@32.54.31.241";
|
||||
|
||||
# remote deployment
|
||||
|
||||
deploy-carbon = "nixos-rebuild switch --flake .#carbon --target-host root@32.54.31.180 --show-trace";
|
||||
deploy-lime = "nixos-rebuild switch --flake .#lime --target-host root@32.54.31.241 --show-trace";
|
||||
deploy-pink = "nixos-rebuild switch --flake .#pink --target-host root@32.54.31.99 --show-trace";
|
||||
|
||||
# other
|
||||
sget = "yt-dlp -x --audio-format flac --embed-metadata --add-metadata '$1'";
|
||||
sget = "yt-dlp -x --audio-format flac --embed-metadata --add-metadata ";
|
||||
|
||||
# productivity
|
||||
# time tracking
|
||||
timewastedon = "timew summary :year";
|
||||
tt = "timew start";
|
||||
ts = "timew stop";
|
||||
};
|
||||
|
||||
# Cool rog logo (worth the ~2 seconds load time)
|
||||
initExtra = ''
|
||||
# for cinny to work
|
||||
WEBKIT_DISABLE_COMPOSITING_MODE=1
|
||||
PROMPT="[%M] %~ "
|
||||
PROMPT="[%M] %~ "
|
||||
'';
|
||||
|
||||
sessionVariables = {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
services.smartd = {
|
||||
enable = true;
|
||||
# to get notified if my drives are dying
|
||||
notifications.wall.enable = true;
|
||||
devices = [
|
||||
{
|
||||
|
|
16
readme.md
16
readme.md
|
@ -1,8 +1,20 @@
|
|||
### My nixos rice
|
||||
# My nixos rice
|
||||
|
||||
![](./rice.png)
|
||||
|
||||
This setup has a lot of impurities, for one firefox with aboslute paths and for another, all my home-manager definitions are for user `grape`. I could go around changing it but im lazy
|
||||
This setup has a lot of impurities, for one firefox with absolute paths and for another, all my home-manager definitions are for user `grape`. I could go around changing it but im lazy
|
||||
|
||||
## Element
|
||||
|
||||
![Element](./element.png)
|
||||
|
||||
## Vscodium
|
||||
|
||||
![vscodium](./vscodium.png)
|
||||
|
||||
## Alacritty
|
||||
|
||||
![alacritty](./alacritty.png)
|
||||
|
||||
# Keyboard shortcuts
|
||||
|
||||
|
|
BIN
rice.png
BIN
rice.png
Binary file not shown.
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 1.8 MiB |
BIN
vscodium.png
Normal file
BIN
vscodium.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 274 KiB |
Loading…
Reference in a new issue