🔧 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
|
mumble # voip
|
||||||
element-desktop # fully featured matrix client
|
element-desktop # fully featured matrix client
|
||||||
#gomuks # tui 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
|
jamesdsp
|
||||||
yt-dlp
|
yt-dlp
|
||||||
picard # audio metadata
|
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
|
logseq
|
||||||
inputs.romodoro.packages.x86_64-linux.default
|
inputs.romodoro.packages.x86_64-linux.default
|
||||||
taskwarrior-tui
|
taskwarrior-tui
|
||||||
#inputs.dttyper.packages.x86_64-linux.default
|
inputs.dttyper.packages.x86_64-linux.default
|
||||||
#(pkgs.callPackage ./dttyper/default.nix { })
|
|
||||||
#(pkgs.callPackage ./romodoro/default.nix { })
|
|
||||||
#(pkgs.callPackage ./goki/default.nix { })
|
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,33 @@
|
||||||
family = "Jetbrains Mono Nerd font";
|
family = "Jetbrains Mono Nerd font";
|
||||||
style = "Regular";
|
style = "Regular";
|
||||||
};
|
};
|
||||||
#shell.program = "${pkgs.zsh}";
|
|
||||||
colors.primary = {
|
colors = {
|
||||||
foreground = "#ffffff";
|
primary.background = "0x1E1E3F";
|
||||||
background = "#191830";
|
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, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(pkgs.runCommand "gpu-screen-recorder"
|
(pkgs.runCommand "gpu-screen-recorder"
|
||||||
{
|
{
|
||||||
|
|
|
@ -119,7 +119,12 @@ in
|
||||||
|
|
||||||
# disable stupid and ugly title bars
|
# disable stupid and ugly title bars
|
||||||
# and for some reason client.active doesnt change the colors...
|
# 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; [
|
environment.systemPackages = with pkgs; [
|
||||||
ollama
|
ollama
|
||||||
];
|
];
|
||||||
services.ollama.enable = true;
|
services.ollama.enable = false;
|
||||||
services.ollama.acceleration = "cuda";
|
services.ollama.acceleration = "cuda";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
backend = "glx";
|
backend = "glx";
|
||||||
vSync = false; # disable vsync to reduce input delay
|
vSync = false; # disable vsync to reduce input delay
|
||||||
extraArgs = [ "-b" "--experimental-backends" ]; # enable deamon mode and experimental backends for blur
|
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 =
|
package =
|
||||||
(pkgs.picom.overrideAttrs (oldAttrs: rec {
|
(pkgs.picom.overrideAttrs (oldAttrs: rec {
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
@ -13,7 +15,35 @@
|
||||||
rev = "da21aa8ef70f9796bc8609fb495c3a1e02df93f9";
|
rev = "da21aa8ef70f9796bc8609fb495c3a1e02df93f9";
|
||||||
hash = "sha256-rxGWAot+6FnXKjNZkMl1uHHHEMVSxm36G3VoV1vSXLA=";
|
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 = {
|
settings = {
|
||||||
|
@ -28,9 +58,6 @@
|
||||||
"window_type = 'desktop'"
|
"window_type = 'desktop'"
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
"class_g ~= 'slop'"
|
"class_g ~= 'slop'"
|
||||||
"class_g ~= 'Warframe.x64.exe'"
|
|
||||||
"class_g ~= 'Warframe.x64.ex'"
|
|
||||||
"class_g ~= 'Warframe'"
|
|
||||||
"class_g ~= 'Peek'"
|
"class_g ~= 'Peek'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -45,6 +72,7 @@
|
||||||
"80:class_g *= 'rofi'"
|
"80:class_g *= 'rofi'"
|
||||||
"80:class_g *= 'lutris'"
|
"80:class_g *= 'lutris'"
|
||||||
"80:class_g *= 'Mumble'"
|
"80:class_g *= 'Mumble'"
|
||||||
|
"80:class_g *= 'Element'"
|
||||||
"85:class_g *= 'Logseq'"
|
"85:class_g *= 'Logseq'"
|
||||||
"85:class_g *= 'Codium'"
|
"85:class_g *= 'Codium'"
|
||||||
];
|
];
|
||||||
|
|
|
@ -21,8 +21,8 @@ in
|
||||||
|
|
||||||
home-manager.users.grape.services.polybar = {
|
home-manager.users.grape.services.polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
script = "polybar --reload";
|
script = "${script}/polybar.sh";
|
||||||
# Nix is great and all.. but this is a bit too execsive
|
|
||||||
config = {
|
config = {
|
||||||
"module/date" = {
|
"module/date" = {
|
||||||
type = "internal/date";
|
type = "internal/date";
|
||||||
|
@ -35,9 +35,8 @@ in
|
||||||
label-foreground = "${colors.fg}";
|
label-foreground = "${colors.fg}";
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
# TODO include labels right into format for each module instea dof having a different module
|
||||||
# Labels
|
|
||||||
#
|
|
||||||
"module/s" = {
|
"module/s" = {
|
||||||
type = "custom/text";
|
type = "custom/text";
|
||||||
label = " | ";
|
label = " | ";
|
||||||
|
@ -70,30 +69,13 @@ in
|
||||||
label = "DAT ";
|
label = "DAT ";
|
||||||
label-foreground = "${ colors. seperatorColor}";
|
label-foreground = "${ colors. seperatorColor}";
|
||||||
};
|
};
|
||||||
#
|
|
||||||
# End of labels
|
|
||||||
#
|
|
||||||
"module/ewmh" = {
|
"module/ewmh" = {
|
||||||
type = "internal/xworkspaces";
|
type = "internal/xworkspaces";
|
||||||
pin-workspaces = false;
|
pin-workspaces = false;
|
||||||
label-active-foreground = "${colors.currentWorkspace}";
|
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" = {
|
"module/cpu-temp" = {
|
||||||
type = "internal/temperature";
|
type = "internal/temperature";
|
||||||
format = "%{F${colors.seperatorColor}}CPU%{F-} <label> ";
|
format = "%{F${colors.seperatorColor}}CPU%{F-} <label> ";
|
||||||
|
@ -150,20 +132,6 @@ in
|
||||||
label-muted-foreground = "${colors.altfg}";
|
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" = {
|
"module/music" = {
|
||||||
type = "custom/script";
|
type = "custom/script";
|
||||||
interval = ".5";
|
interval = ".5";
|
||||||
|
@ -171,16 +139,6 @@ in
|
||||||
format = "<label>";
|
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" = {
|
"fs-base" = {
|
||||||
type = "internal/fs";
|
type = "internal/fs";
|
||||||
label-unmounted = "?";
|
label-unmounted = "?";
|
||||||
|
@ -196,8 +154,6 @@ in
|
||||||
label-mounted = "%free%(%total%)";
|
label-mounted = "%free%(%total%)";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"module/fs-data" = {
|
"module/fs-data" = {
|
||||||
"inherit" = "fs-base";
|
"inherit" = "fs-base";
|
||||||
mount-0 = "/mnt/terra";
|
mount-0 = "/mnt/terra";
|
||||||
|
@ -248,11 +204,10 @@ in
|
||||||
border-color = "${colors.invisible}";
|
border-color = "${colors.invisible}";
|
||||||
|
|
||||||
# Displayed modules
|
# Displayed modules
|
||||||
modules-left = "date s keyboard s ewmh s wired-network wireless-network ";
|
modules-left = "date s keyboard s ewmh";
|
||||||
#modules-center = "cava";
|
#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 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 replay-label replay 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 = {
|
home-manager.users.grape.services.polybar = {
|
||||||
enable = true;
|
|
||||||
script = "polybar --reload";
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
"module/cava" = {
|
"module/cava" = {
|
||||||
type = "custom/script";
|
type = "custom/script";
|
||||||
tail = "true";
|
tail = "true";
|
||||||
exec = "$HOME/.config/scripts/cava.sh";
|
exec = "${script}/cava.sh";
|
||||||
format = "<label>";
|
format = "%{T2}%{F${colors.bg}}%{F-}%{T-}<label>%{T2}%{F${colors.bg}}%{F-}%{T-}";
|
||||||
format-font = 5;
|
format-font = 5;
|
||||||
label-foreground = "${colors.fg}";
|
label-foreground = "${colors.fg}";
|
||||||
|
label-background = "${colors.bg}";
|
||||||
label = " %{T1}%output%%{T-}";
|
label = " %{T1}%output%%{T-}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -68,6 +67,43 @@ in
|
||||||
type = "custom/script";
|
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" = {
|
"bar/bottom" = {
|
||||||
background = "#00191830";
|
background = "#00191830";
|
||||||
|
@ -80,7 +116,7 @@ in
|
||||||
height = "34";
|
height = "34";
|
||||||
modules-center = "cava";
|
modules-center = "cava";
|
||||||
modules-left = "audio-capsule a music-capsule a timew";
|
modules-left = "audio-capsule a music-capsule a timew";
|
||||||
modules-right = "";
|
modules-right = " wireless-network a replay";
|
||||||
padding-left = "5";
|
padding-left = "5";
|
||||||
padding-right = "5";
|
padding-right = "5";
|
||||||
radius = "20";
|
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;
|
enable = true;
|
||||||
font = "Jetbrains Mono";
|
font = "Jetbrains Mono";
|
||||||
configPath = "$XDG_CONFIG_HOME/rofi/config.rasi";
|
configPath = "$XDG_CONFIG_HOME/rofi/config.rasi";
|
||||||
# TODO for some reason the plugin doesn't work
|
plugins = with pkgs; [
|
||||||
plugins = with pkgs; [ rofi-calc rofi-emoji ];
|
rofi-calc
|
||||||
|
rofi-emoji
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
home-manager.users.grape = {
|
home-manager.users.grape = {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -30,11 +27,13 @@
|
||||||
usernamehw.errorlens
|
usernamehw.errorlens
|
||||||
christian-kohler.path-intellisense
|
christian-kohler.path-intellisense
|
||||||
vscjava.vscode-spring-initializr
|
vscjava.vscode-spring-initializr
|
||||||
|
gruntfuggly.todo-tree
|
||||||
|
|
||||||
#themes, icons
|
#themes, icons
|
||||||
vscode-icons-team.vscode-icons
|
vscode-icons-team.vscode-icons
|
||||||
mechatroner.rainbow-csv
|
mechatroner.rainbow-csv
|
||||||
|
|
||||||
|
|
||||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
{
|
{
|
||||||
name = "shades-of-purple";
|
name = "shades-of-purple";
|
||||||
|
@ -42,12 +41,6 @@
|
||||||
version = "7.3.2";
|
version = "7.3.2";
|
||||||
sha256 = "10q5w9g7ghn2qvdc7h2b79x1vy8nzpnwz8dbg1h03074ikhvjx4v";
|
sha256 = "10q5w9g7ghn2qvdc7h2b79x1vy8nzpnwz8dbg1h03074ikhvjx4v";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "ollama-autocoder";
|
|
||||||
publisher = "10nates";
|
|
||||||
version = "0.0.8";
|
|
||||||
sha256 = "0pxmlhj0isz1qr7pmmlrk6srylgwf6c0wqbp9q2ig0barl2qznai";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"terminal.integrated.defaultProfile.linux" = "zsh";
|
"terminal.integrated.defaultProfile.linux" = "zsh";
|
||||||
|
@ -59,11 +52,7 @@
|
||||||
"vim.smartRelativeLine" = true;
|
"vim.smartRelativeLine" = true;
|
||||||
"rust-analyzer.cargo.sysroot" = "discover";
|
"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 = {
|
languageSnippets = {
|
||||||
nix = {
|
nix = {
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
./system/essentials.nix
|
./system/essentials.nix
|
||||||
./system/shell.nix
|
./system/shell.nix
|
||||||
./system/remap.nix
|
./system/remap.nix
|
||||||
|
./system/cursor.nix
|
||||||
./system/ssd.nix
|
./system/ssd.nix
|
||||||
|
|
||||||
# rice and other usefull apps
|
# rice and other usefull apps
|
||||||
|
@ -47,7 +48,7 @@
|
||||||
|
|
||||||
|
|
||||||
# node xporter
|
# 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
|
# adding flake support
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
home-manager.users.grape = { ... }: {
|
home-manager.users.grape = { ... }: {
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "24.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -81,16 +77,6 @@
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
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.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Budapest";
|
time.timeZone = "Europe/Budapest";
|
||||||
|
|
||||||
|
@ -117,5 +103,5 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rofi
|
rofi
|
||||||
rofi-calc
|
#rofi-calc
|
||||||
btop
|
btop
|
||||||
polybar
|
#polybar
|
||||||
nitrogen
|
nitrogen
|
||||||
ranger
|
ranger
|
||||||
neofetch
|
neofetch
|
||||||
peaclock
|
#peaclock
|
||||||
cava
|
cava
|
||||||
bluetuith
|
bluetuith
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
# work
|
# work
|
||||||
#figma-linux
|
#figma-linux
|
||||||
#kdenlive
|
#kdenlive
|
||||||
ffmpeg
|
#ffmpeg
|
||||||
|
|
||||||
#video-trimmer
|
#video-trimmer
|
||||||
peek
|
peek
|
||||||
|
@ -44,6 +44,9 @@
|
||||||
xdotool
|
xdotool
|
||||||
jq
|
jq
|
||||||
|
|
||||||
|
#librewolf
|
||||||
|
#gimp
|
||||||
|
|
||||||
];
|
];
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
|
@ -62,11 +65,18 @@
|
||||||
./configs/gpu-screen-recorder.nix
|
./configs/gpu-screen-recorder.nix
|
||||||
./configs/firefox.nix
|
./configs/firefox.nix
|
||||||
|
|
||||||
|
#./configs/builders.nix
|
||||||
|
./configs/element.nix
|
||||||
|
./configs/nvim.nix
|
||||||
|
|
||||||
# terminal
|
# terminal
|
||||||
#./configs/st.nix # too minimal, most things dont work without a million tweaks
|
#./configs/st.nix # too minimal, most things dont work without a million tweaks
|
||||||
#./configs/kitty.nix # uses their own stupid xterm extension...
|
#./configs/kitty.nix # uses their own stupid xterm extension...
|
||||||
./configs/alacritty.nix # just perfect, tho too much gpu usage
|
./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; [
|
environment.systemPackages = with pkgs; [
|
||||||
# tools
|
# tools
|
||||||
git # version control
|
git # version control
|
||||||
neovim # cli editor
|
#neovim # cli editor
|
||||||
beekeeper-studio # mysql postgres ... client
|
#beekeeper-studio # mysql postgres ... client
|
||||||
insomnia # http client
|
#insomnia # http client
|
||||||
ungoogled-chromium # for testing vite projects
|
ungoogled-chromium # for testing vite projects
|
||||||
|
|
||||||
#containers
|
#containers
|
||||||
|
@ -22,10 +22,13 @@
|
||||||
|
|
||||||
# nix pkg fetcher
|
# nix pkg fetcher
|
||||||
nurl
|
nurl
|
||||||
nix-init
|
#nix-init
|
||||||
|
|
||||||
# for 3d
|
# for 3d
|
||||||
#blender
|
#blender
|
||||||
|
#dbus
|
||||||
|
#xdg-utils
|
||||||
|
#xdg-launch
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
348
etc/flake.lock
348
etc/flake.lock
|
@ -1,99 +1,37 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"advisory-db": {
|
"devshell": {
|
||||||
"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": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"dttyper",
|
"nixvim",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712015038,
|
"lastModified": 1717408969,
|
||||||
"narHash": "sha256-opeWL/FPV7nnbfUavSWIDy+N5bUshF2CyJK6beVvjv4=",
|
"narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=",
|
||||||
"owner": "ipetkov",
|
"owner": "numtide",
|
||||||
"repo": "crane",
|
"repo": "devshell",
|
||||||
"rev": "b245ee3472cbfd82394047b536e117a32b4c7850",
|
"rev": "1ebbe68d57457c8cae98145410b164b5477761f4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ipetkov",
|
"owner": "numtide",
|
||||||
"repo": "crane",
|
"repo": "devshell",
|
||||||
"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",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dttyper": {
|
"dttyper": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"advisory-db": "advisory-db",
|
"nixpkgs": "nixpkgs"
|
||||||
"crane": "crane",
|
|
||||||
"fenix": "fenix",
|
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"nixpkgs": "nixpkgs_2"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714296615,
|
"lastModified": 1717088823,
|
||||||
"narHash": "sha256-M/aws/sr4pl4Lar7JulEYDvAKFm//MByR9H3WVWcAdc=",
|
"narHash": "sha256-0O6UdKp/OmEa0fxfyrJc/xSYLu1Hb18YZ5gML+uEmYQ=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "b7299f7c1c145f8b2b1b4f6f91e5e016db1344cb",
|
"rev": "836ad761738f911198b8ae70b622162c432f4439",
|
||||||
"revCount": 1,
|
"revCount": 2,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.4o1x5.dev/4o1x5/dttyper"
|
"url": "https://git.4o1x5.dev/4o1x5/dttyper"
|
||||||
},
|
},
|
||||||
|
@ -102,40 +40,67 @@
|
||||||
"url": "https://git.4o1x5.dev/4o1x5/dttyper"
|
"url": "https://git.4o1x5.dev/4o1x5/dttyper"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fenix": {
|
"flake-compat": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"dttyper",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"rust-analyzer-src": [
|
|
||||||
"dttyper"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712038998,
|
"lastModified": 1696426674,
|
||||||
"narHash": "sha256-bVIEz07/SLxPRRo+1G0cUd26KhoCj8yQc8myhf/93FM=",
|
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||||
"owner": "nix-community",
|
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||||
"repo": "fenix",
|
"revCount": 57,
|
||||||
"rev": "b1b59b4d908d3e64a7e923a7b434e94e03626ec0",
|
"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"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "edolstra",
|
||||||
"repo": "fenix",
|
"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"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_2"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710146030,
|
"lastModified": 1701680307,
|
||||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -144,23 +109,72 @@
|
||||||
"type": "github"
|
"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": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"agenix",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703113217,
|
"lastModified": 1717527182,
|
||||||
"narHash": "sha256-7ulcXOk63TIT2lVDSExj7XzFx09LpdSAPtvgtM7yQPE=",
|
"narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3bfaacf46133c037bb356193bd2f1765d9dc82c1",
|
"rev": "845a5c4c073f74105022533907703441e0464bc3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
|
"ref": "release-24.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -168,47 +182,67 @@
|
||||||
"home-manager_2": {
|
"home-manager_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
"nixvim",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716729592,
|
"lastModified": 1717525419,
|
||||||
"narHash": "sha256-Y3bOjoh2cFBqZN0Jw1zUdyr7tjygyxl2bD/QY73GZP0=",
|
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2c78a57c544dd19b07442350727ced097e1aa6e6",
|
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-23.11",
|
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"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": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703013332,
|
"lastModified": 1716948383,
|
||||||
"narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=",
|
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6",
|
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"type": "indirect"
|
||||||
"type": "github"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716509168,
|
"lastModified": 1716948383,
|
||||||
"narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=",
|
"narHash": "sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bfb7a882678e518398ce9a31a881538679f6f092",
|
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -219,37 +253,21 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711715736,
|
"lastModified": 1717555607,
|
||||||
"narHash": "sha256-9slQ609YqT9bT/MNX9+5k5jltL9zgpn36DpFB7TkttM=",
|
"narHash": "sha256-WZ1s48OODmRJ3DHC+I/DtM3tDRuRJlNqMvxvAPTD7ec=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "807c549feabce7eddbf259dbdcec9e0600a0660d",
|
"rev": "0b8e7a1ae5a94da2e1ee3f3030a32020f6254105",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixpkgs-unstable",
|
"ref": "nixos-24.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"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": {
|
"locked": {
|
||||||
"lastModified": 1716137900,
|
"lastModified": 1716137900,
|
||||||
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
|
||||||
|
@ -264,6 +282,34 @@
|
||||||
"type": "indirect"
|
"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": {
|
"nvidia-patch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -287,7 +333,7 @@
|
||||||
},
|
},
|
||||||
"romodoro": {
|
"romodoro": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716331053,
|
"lastModified": 1716331053,
|
||||||
|
@ -302,11 +348,11 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
|
||||||
"dttyper": "dttyper",
|
"dttyper": "dttyper",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
"nixvim": "nixvim",
|
||||||
"nvidia-patch": "nvidia-patch",
|
"nvidia-patch": "nvidia-patch",
|
||||||
"romodoro": "romodoro"
|
"romodoro": "romodoro"
|
||||||
}
|
}
|
||||||
|
@ -341,24 +387,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_3": {
|
"treefmt-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixvim",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1717278143,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw=",
|
||||||
"owner": "nix-systems",
|
"owner": "numtide",
|
||||||
"repo": "default",
|
"repo": "treefmt-nix",
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
"rev": "3eb96ca1ae9edf792a8e0963cc92fddfa5a87706",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-systems",
|
"owner": "numtide",
|
||||||
"repo": "default",
|
"repo": "treefmt-nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_3"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710146030,
|
"lastModified": 1710146030,
|
||||||
|
|
|
@ -2,21 +2,25 @@
|
||||||
description = "A simple NixOS flake";
|
description = "A simple NixOS flake";
|
||||||
|
|
||||||
inputs = {
|
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
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; # unstable branch for newer packages
|
||||||
agenix.url = "github:ryantm/agenix";
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-23.11";
|
url = "github:nix-community/home-manager/release-24.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
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 = {
|
||||||
nvidia-patch.inputs.nixpkgs.follows = "nixpkgs";
|
url = "github:icewind1991/nvidia-patch-nixos";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
dttyper.url = "git+https://git.4o1x5.dev/4o1x5/dttyper";
|
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";
|
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 =
|
outputs =
|
||||||
|
@ -27,11 +31,11 @@
|
||||||
, nvidia-patch
|
, nvidia-patch
|
||||||
, dttyper
|
, dttyper
|
||||||
, romodoro
|
, romodoro
|
||||||
|
, nixvim
|
||||||
, ...
|
, ...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
#colors = import ./configs/colors.nix;
|
|
||||||
overlay-unstable = final: prev: {
|
overlay-unstable = final: prev: {
|
||||||
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||||||
};
|
};
|
||||||
|
@ -49,9 +53,9 @@
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
|
||||||
#dttyper.nixosModules.default
|
|
||||||
./system/drivers/shitvidia-patch.nix
|
./system/drivers/shitvidia-patch.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
nixvim.nixosModules.nixvim
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs;[
|
environment.systemPackages = with pkgs;[
|
||||||
# minecraft
|
# minecraft
|
||||||
prismlauncher
|
#prismlauncher
|
||||||
# not so epic games
|
# not so epic games
|
||||||
heroic
|
heroic
|
||||||
# lol
|
|
||||||
(lutris.override {
|
(lutris.override {
|
||||||
extraPkgs = pkgs: [
|
extraPkgs = pkgs: [
|
||||||
pkgs.winePackages.base
|
pkgs.winePackages.base
|
||||||
|
@ -14,16 +13,16 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
# enabling java for mc
|
# enabling java for mc
|
||||||
programs.java = { enable = true; package = pkgs.jdk17; };
|
#programs.java = { enable = true; package = pkgs.jdk17; };
|
||||||
|
|
||||||
# steam
|
# 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.steam.enable = true;
|
||||||
|
|
||||||
programs.firejail = {
|
programs.firejail = {
|
||||||
wrappedBinaries = {
|
wrappedBinaries = {
|
||||||
|
|
||||||
# To add another drive:
|
|
||||||
# 1. open steam steam://open/console in browser
|
|
||||||
# 2. library_folder_add "/path/to/drive"
|
|
||||||
steam = {
|
steam = {
|
||||||
executable = "${pkgs.steam}/bin/steam";
|
executable = "${pkgs.steam}/bin/steam";
|
||||||
profile = "${pkgs.firejail}/etc/firejail/steam.profile";
|
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 =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" ];
|
||||||
|
@ -14,25 +15,27 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/7610257f-16f7-41c2-a0d9-4e9f08f2b3e9";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/7610257f-16f7-41c2-a0d9-4e9f08f2b3e9";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-bbb8e429-bee1-4b5e-8ce8-c54f5f4f29a2".device = "/dev/disk/by-uuid/bbb8e429-bee1-4b5e-8ce8-c54f5f4f29a2";
|
boot.initrd.luks.devices."luks-bbb8e429-bee1-4b5e-8ce8-c54f5f4f29a2".device = "/dev/disk/by-uuid/bbb8e429-bee1-4b5e-8ce8-c54f5f4f29a2";
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/4362-33EF";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/4362-33EF";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/terra" =
|
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";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
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
|
# 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
|
# (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);
|
user_pref("browser.discovery.enabled", false);
|
||||||
/* 0323: disable shopping experience [FF116+]
|
/* 0323: disable shopping experience [FF116+]
|
||||||
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1840156#c0 ***/
|
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1840156#c0 ***/
|
||||||
|
|
||||||
user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
|
user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
|
||||||
|
|
||||||
|
// 165hz unlock
|
||||||
|
user_pref("layout.frame_rate", 165);
|
||||||
|
|
||||||
/** TELEMETRY ***/
|
/** TELEMETRY ***/
|
||||||
/* 0330: disable new data submission [FF41+]
|
/* 0330: disable new data submission [FF41+]
|
||||||
* If disabled, no policy is shown or upload takes place, ever
|
* If disabled, no policy is shown or upload takes place, ever
|
||||||
|
|
|
@ -1,23 +1,8 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
home.pointerCursor =
|
home-manager.users.grape.home.pointerCursor = {
|
||||||
let
|
name = "oreo-cursors-plus";
|
||||||
getFrom = url: hash: name: {
|
package = pkgs.oreo-cursors-plus;
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
x11.enable = true;
|
size = 16;
|
||||||
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";
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,14 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
services.displayManager.sddm.enable = true;
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
desktopManager = {
|
desktopManager = {
|
||||||
xterm.enable = false;
|
xterm.enable = false;
|
||||||
};
|
};
|
||||||
|
windowManager.i3.enable = true;
|
||||||
displayManager.sddm = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
windowManager.i3 = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
excludePackages = [
|
excludePackages = [
|
||||||
pkgs.xterm
|
pkgs.xterm
|
||||||
];
|
];
|
||||||
layout = "us";
|
xkb.layout = "us";
|
||||||
xkbVariant = "";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,14 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
busybox
|
busybox
|
||||||
doas
|
doas
|
||||||
blueman
|
blueman
|
||||||
|
|
||||||
# for monitoring cpu and other temps
|
# for monitoring cpu and other temps
|
||||||
lm_sensors
|
lm_sensors
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
hardware.bluetooth.enable = true;
|
||||||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
|
hardware.bluetooth.powerOnBoot = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,29 +1,15 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
lolcat # cool colors
|
|
||||||
figlet # ascii generator
|
|
||||||
];
|
|
||||||
|
|
||||||
# setting zsh as default shell
|
|
||||||
users.users.grape.shell = pkgs.zsh;
|
users.users.grape.shell = pkgs.zsh;
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
home-manager.users.grape = {
|
home-manager.users.grape = {
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#defaultKeymap = "vicmd";
|
# TODO fix keymapping, so shortcuts like CTRL + A work...
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# essentials
|
|
||||||
la = "ls -a";
|
|
||||||
sudo = "doas";
|
|
||||||
|
|
||||||
update = "doas nixos-rebuild switch --impure";
|
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
|
# docker
|
||||||
dc = "docker compose";
|
dc = "docker compose";
|
||||||
|
@ -37,32 +23,26 @@
|
||||||
dev = "nix develop --command zsh";
|
dev = "nix develop --command zsh";
|
||||||
|
|
||||||
# ssh
|
# ssh
|
||||||
pink = "ssh pink@32.54.31.99";
|
pink = "ssh root@32.54.31.99";
|
||||||
yellow = "ssh root@32.54.31.5";
|
yellow = "ssh root@32.54.31.5";
|
||||||
carbon = "ssh carbon@32.54.31.180";
|
carbon = "ssh root@32.54.31.180";
|
||||||
lime = "ssh lime@32.54.31.241";
|
lime = "ssh root@32.54.31.241";
|
||||||
|
|
||||||
# remote deployment
|
# remote deployment
|
||||||
|
|
||||||
deploy-carbon = "nixos-rebuild switch --flake .#carbon --target-host root@32.54.31.180 --show-trace";
|
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-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";
|
deploy-pink = "nixos-rebuild switch --flake .#pink --target-host root@32.54.31.99 --show-trace";
|
||||||
|
|
||||||
# other
|
# 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
|
# productivity
|
||||||
# time tracking
|
# time tracking
|
||||||
timewastedon = "timew summary :year";
|
timewastedon = "timew summary :year";
|
||||||
tt = "timew start";
|
|
||||||
ts = "timew stop";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Cool rog logo (worth the ~2 seconds load time)
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
# for cinny to work
|
PROMPT="[%M] %~ "
|
||||||
WEBKIT_DISABLE_COMPOSITING_MODE=1
|
|
||||||
PROMPT="[%M] %~ "
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
services.smartd = {
|
services.smartd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# to get notified if my drives are dying
|
||||||
notifications.wall.enable = true;
|
notifications.wall.enable = true;
|
||||||
devices = [
|
devices = [
|
||||||
{
|
{
|
||||||
|
|
16
readme.md
16
readme.md
|
@ -1,8 +1,20 @@
|
||||||
### My nixos rice
|
# My nixos rice
|
||||||
|
|
||||||
![](./rice.png)
|
![](./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
|
# 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