revert Testing
This commit is contained in:
albert 2024-06-12 19:07:46 +09:00
parent 0e4f1ffe3e
commit 3127e9b44a
31 changed files with 2092 additions and 423 deletions

1984
flake.lock Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,16 +2,19 @@
description = "NixOS System Config"; description = "NixOS System Config";
inputs = { inputs = {
# Stable Packages # Stable Packages
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-23.11";
# Unstable Packages # Unstable Packages
nixpkgs-unstable.url = "nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
# home-manager - Dotfile mnagement - add /master at the end to pull from master # home-manager - Dotfile mnagement - add /master at the end to pull from master
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Nix colorizer / themer # Nix colorizer / themer
stylix.url = "github:danth/stylix"; # TODO: https://github.com/danth/stylix/issues/405
stylix.url = "github:danth/stylix/release-23.11";
# nixvim - neovim configuration management in nix # nixvim - neovim configuration management in nix
nixvim.url = "github:nix-community/nixvim"; # TODO: https://github.com/nix-community/nixvim/issues/1551
nixvim.url = "github:nix-community/nixvim/nixos-23.11";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
# lanzaboote - Secureboot Configuration # lanzaboote - Secureboot Configuration
lanzaboote.url = "github:nix-community/lanzaboote"; lanzaboote.url = "github:nix-community/lanzaboote";
lanzaboote.inputs.nixpkgs.follows = "nixpkgs"; lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
@ -61,7 +64,7 @@
framework-server = libx.mkHost { hostname = "framework-server"; }; framework-server = libx.mkHost { hostname = "framework-server"; };
nuc-server = libx.mkHost { hostname = "nuc-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; };
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; };
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; theme = "tokyo-day"; }; nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "hyprland"; theme = "green"; };
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
@ -74,7 +77,7 @@
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; "albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; }; "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; };
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; theme = "tokyo-day";}; "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "green"; };
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };

View file

@ -1,6 +1,7 @@
{ inputs, pkgs, ... }: { { inputs, pkgs, ... }: {
imports = [ imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager inputs.plasma-manager.homeManagerModules.plasma-manager
./plasma-manager.nix
]; ];
# Add the Firefox integrations # Add the Firefox integrations

View file

@ -1,5 +1,8 @@
{ ... }: { { ... }: {
programs.btop = { programs.btop = {
enable = true; enable = true;
settings = {
color_theme = "TTY";
};
}; };
} }

View file

@ -50,6 +50,7 @@
pylsp = { pylsp = {
enable = true; enable = true;
autostart = true; autostart = true;
installLanguageServer = true;
settings = { settings = {
plugins = { plugins = {
black = { black = {
@ -66,7 +67,7 @@
}; };
}; };
rnix-lsp.enable = lib.mkForce false; rnix-lsp.enable = lib.mkForce false;
nil-ls.enable = false; nil_ls.enable = false;
html.enable = true; html.enable = true;
cssls.enable = true; cssls.enable = true;
bashls.enable = true; bashls.enable = true;

View file

@ -18,7 +18,7 @@
globals.mapleader = " "; globals.mapleader = " ";
globals.maplocalleader = " "; globals.maplocalleader = " ";
opts = { options = {
number = true; number = true;
wrap = false; wrap = false;
cursorline = true; cursorline = true;
@ -43,7 +43,8 @@
# pretty stuff # pretty stuff
# Fancify markdown et al # Fancify markdown et al
headlines.enable = true; # TODO Re-enable this after 24.05
# headlines.enable = true;
# Rainbow matching {} [] () 's # Rainbow matching {} [] () 's
rainbow-delimiters.enable = true; rainbow-delimiters.enable = true;
# Colorize hex colors inline # Colorize hex colors inline
@ -195,39 +196,39 @@
keymaps = { keymaps = {
"<leader><leader>" = { "<leader><leader>" = {
action = "find_files"; action = "find_files";
options.desc = "Search files by name"; desc = "Search files by name";
}; };
"<leader>s" = { "<leader>s" = {
action = "live_grep"; action = "live_grep";
options.desc = "Search by live grep"; desc = "Search by live grep";
}; };
"<leader>bl" = { "<leader>bl" = {
action = "buffers"; action = "buffers";
options.desc = "[L]list open [B]uffers"; desc = "[L]list open [B]uffers";
}; };
"<leader>h" = { "<leader>h" = {
action = "help_tags"; action = "help_tags";
options.desc = "Search [H]elp"; desc = "Search [H]elp";
}; };
"<leader>W" = { "<leader>W" = {
action = "grep_string"; action = "grep_string";
options.desc = "Search for [W]ord under cursor"; desc = "Search for [W]ord under cursor";
}; };
"<leader>gs" = { "<leader>gs" = {
action = "git_status"; action = "git_status";
options.desc = "Search [G]it [S]tatus"; desc = "Search [G]it [S]tatus";
}; };
"<leader>gl" = { "<leader>gl" = {
action = "git_commits"; action = "git_commits";
options.desc = "View [G]it [L]ogs"; desc = "View [G]it [L]ogs";
}; };
"<leader>r" = { "<leader>r" = {
action = "oldfiles"; action = "oldfiles";
options.desc = "Search [R]ecently opened files by name"; desc = "Search [R]ecently opened files by name";
}; };
"<leader>cs" = { "<leader>cs" = {
action = "colorscheme"; action = "colorscheme";
options.desc = "Change [C]olor[s]cheme"; desc = "Change [C]olor[s]cheme";
}; };
}; };
}; };

View file

@ -10,32 +10,44 @@
cmp-nvim-lsp-document-symbol.enable = true; cmp-nvim-lsp-document-symbol.enable = true;
cmp-nvim-lsp-signature-help.enable = true; cmp-nvim-lsp-signature-help.enable = true;
cmp = { nvim-cmp = {
enable = true; enable = true;
autoEnableSources = true; autoEnableSources = true;
settings = {
mapping = { mapping = {
"<C-Space>" = "cmp.mapping.complete()"; "<C-Space>" = "cmp.mapping.complete()";
"<C-d>" = "cmp.mapping.scroll_docs(-4)"; "<C-d>" = "cmp.mapping.scroll_docs(-4)";
"<C-e>" = "cmp.mapping.close()"; "<C-e>" = "cmp.mapping.close()";
"<C-f>" = "cmp.mapping.scroll_docs(4)"; "<C-f>" = "cmp.mapping.scroll_docs(4)";
"<CR>" = "cmp.mapping.confirm({ select = true })"; "<CR>" = "cmp.mapping.confirm({ select = true })";
"<S-Tab>" = "cmp.mapping.select_prev_item()"; "<S-Tab>" = {
"<Tab>" = "cmp.mapping.select_next_item()"; action = "cmp.mapping.select_prev_item()";
modes = [
"i"
"s"
];
};
"<Tab>" = {
action = "cmp.mapping.select_next_item()";
modes = [
"i"
"s"
];
}; };
window = {
completion.border = "rounded";
documentation.border = "rounded";
}; };
sources = [ sources = [
{ name = "nvim_lua"; } { name = "nvim_lua"; }
{ name = "nvim_lsp"; } { name = "nvim_lsp"; }
# { name = "nvim_lsp_signature_help"; }
{ name = "calc"; } { name = "calc"; }
{ name = "path"; } { name = "path"; }
{ name = "buffer"; } { name = "buffer"; }
{ name = "luasnip"; } { name = "luasnip"; }
]; ];
snippet.expand = "luasnip"; snippet.expand = "luasnip";
window = {
completion.border = "rounded";
documentation.border = "rounded";
};
formatting = { formatting = {
fields = [ "menu" "abbr" "kind" ]; fields = [ "menu" "abbr" "kind" ];
# https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/ # https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/
@ -54,5 +66,4 @@
}; };
}; };
}; };
};
} }

View file

@ -526,7 +526,7 @@
* could have been revoked) and/or you could be under attack (e.g. malicious blocking of OCSP servers) * could have been revoked) and/or you could be under attack (e.g. malicious blocking of OCSP servers)
* [1] https://blog.mozilla.org/security/2013/07/29/ocsp-stapling-in-firefox/ * [1] https://blog.mozilla.org/security/2013/07/29/ocsp-stapling-in-firefox/
* [2] https://www.imperialviolet.org/2014/04/19/revchecking.html ***/ * [2] https://www.imperialviolet.org/2014/04/19/revchecking.html ***/
user_pref("security.OCSP.require", false); user_pref("security.OCSP.require", true);
/** CERTS / HPKP (HTTP Public Key Pinning) ***/ /** CERTS / HPKP (HTTP Public Key Pinning) ***/
/* 1223: enable strict PKP (Public Key Pinning) /* 1223: enable strict PKP (Public Key Pinning)

View file

@ -1,5 +1,3 @@
{ ... }: { {
imports = [
./plasma-manager.nix
];
} }

View file

@ -1,5 +1,3 @@
{ ... }: { {
imports = [
./plasma-manager.nix
];
} }

View file

@ -1,328 +0,0 @@
{
programs.plasma = {
enable = true;
shortcuts = {
"ActivityManager"."switch-to-activity-0bf1ae9c-755f-46e4-9598-f826be1dc9aa" = [ ];
"ActivityManager"."switch-to-activity-58ba9d93-72ae-4de8-8ee6-92ce0e189538" = [ ];
"KDE Keyboard Layout Switcher"."Switch to Last-Used Keyboard Layout" = "Meta+Alt+L";
"KDE Keyboard Layout Switcher"."Switch to Next Keyboard Layout" = "Meta+Alt+K";
"kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S";
"kcm_touchpad"."Disable Touchpad" = "Touchpad Off";
"kcm_touchpad"."Enable Touchpad" = "Touchpad On";
"kcm_touchpad"."Toggle Touchpad" = "Touchpad Toggle";
"kded6"."display" = ["" "Display" "Meta+P"];
"kmix"."decrease_microphone_volume" = "Microphone Volume Down";
"kmix"."decrease_volume" = "Volume Down";
"kmix"."decrease_volume_small" = "Shift+Volume Down";
"kmix"."increase_microphone_volume" = "Microphone Volume Up";
"kmix"."increase_volume" = "Volume Up";
"kmix"."increase_volume_small" = "Shift+Volume Up";
"kmix"."mic_mute" = ["" "Microphone Mute" "Meta+Volume Mute"];
"kmix"."mute" = "Volume Mute";
"ksmserver"."Halt Without Confirmation" = [ ];
"ksmserver"."Lock Session" = ["" "Meta+L" "Screensaver"];
"ksmserver"."Log Out" = "Ctrl+Alt+Del";
"ksmserver"."Log Out Without Confirmation" = [ ];
"ksmserver"."Reboot" = [ ];
"ksmserver"."Reboot Without Confirmation" = [ ];
"ksmserver"."Shut Down" = [ ];
"kwin"."Activate Window Demanding Attention" = "Meta+Ctrl+A";
"kwin"."Cycle Overview" = "Meta+Tab";
"kwin"."Cycle Overview Opposite" = "Meta+Shift+Tab";
"kwin"."Decrease Opacity" = [ ];
"kwin"."Edit Tiles" = "Meta+T";
"kwin"."Expose" = "Ctrl+F9";
"kwin"."ExposeAll" = ["" "Ctrl+F10" "Launch (C)"];
"kwin"."ExposeClass" = "Ctrl+F7";
"kwin"."ExposeClassCurrentDesktop" = [ ];
"kwin"."Grid View" = "Meta+G";
"kwin"."Increase Opacity" = [ ];
"kwin"."Kill Window" = "Meta+Ctrl+Esc";
"kwin"."Move Tablet to Next Output" = [ ];
"kwin"."MoveMouseToCenter" = "Meta+F6";
"kwin"."MoveMouseToFocus" = "Meta+F5";
"kwin"."MoveZoomDown" = [ ];
"kwin"."MoveZoomLeft" = [ ];
"kwin"."MoveZoomRight" = [ ];
"kwin"."MoveZoomUp" = [ ];
"kwin"."Overview" = "Meta+W";
"kwin"."Setup Window Shortcut" = [ ];
"kwin"."Show Desktop" = "Meta+D";
"kwin"."Suspend Compositing" = "Alt+Shift+F12";
"kwin"."Switch One Desktop Down" = "Meta+Ctrl+Down";
"kwin"."Switch One Desktop Up" = "Meta+Ctrl+Up";
"kwin"."Switch One Desktop to the Left" = "Meta+Ctrl+Left";
"kwin"."Switch One Desktop to the Right" = "Meta+Ctrl+Right";
"kwin"."Switch Window Down" = "Meta+Alt+Down";
"kwin"."Switch Window Left" = "Meta+Alt+Left";
"kwin"."Switch Window Right" = "Meta+Alt+Right";
"kwin"."Switch Window Up" = "Meta+Alt+Up";
"kwin"."Switch to Desktop 1" = "Ctrl+F1";
"kwin"."Switch to Desktop 10" = [ ];
"kwin"."Switch to Desktop 11" = [ ];
"kwin"."Switch to Desktop 12" = [ ];
"kwin"."Switch to Desktop 13" = [ ];
"kwin"."Switch to Desktop 14" = [ ];
"kwin"."Switch to Desktop 15" = [ ];
"kwin"."Switch to Desktop 16" = [ ];
"kwin"."Switch to Desktop 17" = [ ];
"kwin"."Switch to Desktop 18" = [ ];
"kwin"."Switch to Desktop 19" = [ ];
"kwin"."Switch to Desktop 2" = "Ctrl+F2";
"kwin"."Switch to Desktop 20" = [ ];
"kwin"."Switch to Desktop 3" = "Ctrl+F3";
"kwin"."Switch to Desktop 4" = "Ctrl+F4";
"kwin"."Switch to Desktop 5" = [ ];
"kwin"."Switch to Desktop 6" = [ ];
"kwin"."Switch to Desktop 7" = [ ];
"kwin"."Switch to Desktop 8" = [ ];
"kwin"."Switch to Desktop 9" = [ ];
"kwin"."Switch to Next Desktop" = [ ];
"kwin"."Switch to Next Screen" = [ ];
"kwin"."Switch to Previous Desktop" = [ ];
"kwin"."Switch to Previous Screen" = [ ];
"kwin"."Switch to Screen 0" = [ ];
"kwin"."Switch to Screen 1" = [ ];
"kwin"."Switch to Screen 2" = [ ];
"kwin"."Switch to Screen 3" = [ ];
"kwin"."Switch to Screen 4" = [ ];
"kwin"."Switch to Screen 5" = [ ];
"kwin"."Switch to Screen 6" = [ ];
"kwin"."Switch to Screen 7" = [ ];
"kwin"."Switch to Screen Above" = [ ];
"kwin"."Switch to Screen Below" = [ ];
"kwin"."Switch to Screen to the Left" = [ ];
"kwin"."Switch to Screen to the Right" = [ ];
"kwin"."Toggle Night Color" = [ ];
"kwin"."Toggle Window Raise/Lower" = [ ];
"kwin"."Walk Through Windows" = "Alt+Tab";
"kwin"."Walk Through Windows (Reverse)" = "Alt+Shift+Tab";
"kwin"."Walk Through Windows Alternative" = [ ];
"kwin"."Walk Through Windows Alternative (Reverse)" = [ ];
"kwin"."Walk Through Windows of Current Application" = "Alt+`";
"kwin"."Walk Through Windows of Current Application (Reverse)" = "Alt+~";
"kwin"."Walk Through Windows of Current Application Alternative" = [ ];
"kwin"."Walk Through Windows of Current Application Alternative (Reverse)" = [ ];
"kwin"."Window Above Other Windows" = [ ];
"kwin"."Window Below Other Windows" = [ ];
"kwin"."Window Close" = "Alt+F4";
"kwin"."Window Fullscreen" = [ ];
"kwin"."Window Grow Horizontal" = [ ];
"kwin"."Window Grow Vertical" = [ ];
"kwin"."Window Lower" = [ ];
"kwin"."Window Maximize" = "Meta+PgUp";
"kwin"."Window Maximize Horizontal" = [ ];
"kwin"."Window Maximize Vertical" = [ ];
"kwin"."Window Minimize" = "Meta+PgDown";
"kwin"."Window Move" = [ ];
"kwin"."Window Move Center" = [ ];
"kwin"."Window No Border" = [ ];
"kwin"."Window On All Desktops" = [ ];
"kwin"."Window One Desktop Down" = "Meta+Ctrl+Shift+Down";
"kwin"."Window One Desktop Up" = "Meta+Ctrl+Shift+Up";
"kwin"."Window One Desktop to the Left" = "Meta+Ctrl+Shift+Left";
"kwin"."Window One Desktop to the Right" = "Meta+Ctrl+Shift+Right";
"kwin"."Window One Screen Down" = [ ];
"kwin"."Window One Screen Up" = [ ];
"kwin"."Window One Screen to the Left" = [ ];
"kwin"."Window One Screen to the Right" = [ ];
"kwin"."Window Operations Menu" = "Alt+F3";
"kwin"."Window Pack Down" = [ ];
"kwin"."Window Pack Left" = [ ];
"kwin"."Window Pack Right" = [ ];
"kwin"."Window Pack Up" = [ ];
"kwin"."Window Quick Tile Bottom" = "Meta+Down";
"kwin"."Window Quick Tile Bottom Left" = [ ];
"kwin"."Window Quick Tile Bottom Right" = [ ];
"kwin"."Window Quick Tile Left" = "Meta+Left";
"kwin"."Window Quick Tile Right" = "Meta+Right";
"kwin"."Window Quick Tile Top" = "Meta+Up";
"kwin"."Window Quick Tile Top Left" = [ ];
"kwin"."Window Quick Tile Top Right" = [ ];
"kwin"."Window Raise" = [ ];
"kwin"."Window Resize" = [ ];
"kwin"."Window Shade" = [ ];
"kwin"."Window Shrink Horizontal" = [ ];
"kwin"."Window Shrink Vertical" = [ ];
"kwin"."Window to Desktop 1" = [ ];
"kwin"."Window to Desktop 10" = [ ];
"kwin"."Window to Desktop 11" = [ ];
"kwin"."Window to Desktop 12" = [ ];
"kwin"."Window to Desktop 13" = [ ];
"kwin"."Window to Desktop 14" = [ ];
"kwin"."Window to Desktop 15" = [ ];
"kwin"."Window to Desktop 16" = [ ];
"kwin"."Window to Desktop 17" = [ ];
"kwin"."Window to Desktop 18" = [ ];
"kwin"."Window to Desktop 19" = [ ];
"kwin"."Window to Desktop 2" = [ ];
"kwin"."Window to Desktop 20" = [ ];
"kwin"."Window to Desktop 3" = [ ];
"kwin"."Window to Desktop 4" = [ ];
"kwin"."Window to Desktop 5" = [ ];
"kwin"."Window to Desktop 6" = [ ];
"kwin"."Window to Desktop 7" = [ ];
"kwin"."Window to Desktop 8" = [ ];
"kwin"."Window to Desktop 9" = [ ];
"kwin"."Window to Next Desktop" = [ ];
"kwin"."Window to Next Screen" = "Meta+Shift+Right";
"kwin"."Window to Previous Desktop" = [ ];
"kwin"."Window to Previous Screen" = "Meta+Shift+Left";
"kwin"."Window to Screen 0" = [ ];
"kwin"."Window to Screen 1" = [ ];
"kwin"."Window to Screen 2" = [ ];
"kwin"."Window to Screen 3" = [ ];
"kwin"."Window to Screen 4" = [ ];
"kwin"."Window to Screen 5" = [ ];
"kwin"."Window to Screen 6" = [ ];
"kwin"."Window to Screen 7" = [ ];
"kwin"."view_actual_size" = [ ];
"kwin"."view_zoom_in" = ["" "Meta++" "Meta+\x3d"];
"kwin"."view_zoom_out" = "Meta+-";
"mediacontrol"."mediavolumedown" = [ ];
"mediacontrol"."mediavolumeup" = [ ];
"mediacontrol"."nextmedia" = "Media Next";
"mediacontrol"."pausemedia" = "Media Pause";
"mediacontrol"."playmedia" = [ ];
"mediacontrol"."playpausemedia" = "Media Play";
"mediacontrol"."previousmedia" = "Media Previous";
"mediacontrol"."stopmedia" = "Media Stop";
"org_kde_powerdevil"."Decrease Keyboard Brightness" = "Keyboard Brightness Down";
"org_kde_powerdevil"."Decrease Screen Brightness" = "Monitor Brightness Down";
"org_kde_powerdevil"."Decrease Screen Brightness Small" = "Shift+Monitor Brightness Down";
"org_kde_powerdevil"."Hibernate" = "Hibernate";
"org_kde_powerdevil"."Increase Keyboard Brightness" = "Keyboard Brightness Up";
"org_kde_powerdevil"."Increase Screen Brightness" = "Monitor Brightness Up";
"org_kde_powerdevil"."Increase Screen Brightness Small" = "Shift+Monitor Brightness Up";
"org_kde_powerdevil"."PowerDown" = "Power Down";
"org_kde_powerdevil"."PowerOff" = "Power Off";
"org_kde_powerdevil"."Sleep" = "Sleep";
"org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off";
"org_kde_powerdevil"."Turn Off Screen" = [ ];
"org_kde_powerdevil"."powerProfile" = ["" "Battery" "Meta+B"];
"plasmashell"."activate task manager entry 1" = "Meta+1";
"plasmashell"."activate task manager entry 10" = "Meta+0";
"plasmashell"."activate task manager entry 2" = "Meta+2";
"plasmashell"."activate task manager entry 3" = "Meta+3";
"plasmashell"."activate task manager entry 4" = "Meta+4";
"plasmashell"."activate task manager entry 5" = "Meta+5";
"plasmashell"."activate task manager entry 6" = "Meta+6";
"plasmashell"."activate task manager entry 7" = "Meta+7";
"plasmashell"."activate task manager entry 8" = "Meta+8";
"plasmashell"."activate task manager entry 9" = "Meta+9";
"plasmashell"."clear-history" = [ ];
"plasmashell"."clipboard_action" = "Meta+Ctrl+X";
"plasmashell"."cycle-panels" = "Meta+Alt+P";
"plasmashell"."cycleNextAction" = [ ];
"plasmashell"."cyclePrevAction" = [ ];
"plasmashell"."manage activities" = "Meta+Q";
"plasmashell"."next activity" = "Meta+A";
"plasmashell"."previous activity" = "Meta+Shift+A";
"plasmashell"."repeat_action" = [ ];
"plasmashell"."show dashboard" = "Ctrl+F12";
"plasmashell"."show-barcode" = [ ];
"plasmashell"."show-on-mouse-pos" = "Meta+V";
"plasmashell"."stop current activity" = "Meta+S";
"plasmashell"."switch to next activity" = [ ];
"plasmashell"."switch to previous activity" = [ ];
"plasmashell"."toggle do not disturb" = [ ];
"services/org.kde.kscreen.desktop"."ShowOSD" = [ ];
};
configFile = {
"baloofilerc"."General"."dbVersion" = 2;
"baloofilerc"."General"."exclude filters" = "*~,*.part,*.o,*.la,*.lo,*.loT,*.moc,moc_*.cpp,qrc_*.cpp,ui_*.h,cmake_install.cmake,CMakeCache.txt,CTestTestfile.cmake,libtool,config.status,confdefs.h,autom4te,conftest,confstat,Makefile.am,*.gcode,.ninja_deps,.ninja_log,build.ninja,*.csproj,*.m4,*.rej,*.gmo,*.pc,*.omf,*.aux,*.tmp,*.po,*.vm*,*.nvram,*.rcore,*.swp,*.swap,lzo,litmain.sh,*.orig,.histfile.*,.xsession-errors*,*.map,*.so,*.a,*.db,*.qrc,*.ini,*.init,*.img,*.vdi,*.vbox*,vbox.log,*.qcow2,*.vmdk,*.vhd,*.vhdx,*.sql,*.sql.gz,*.ytdl,*.tfstate*,*.class,*.pyc,*.pyo,*.elc,*.qmlc,*.jsc,*.fastq,*.fq,*.gb,*.fasta,*.fna,*.gbff,*.faa,po,CVS,.svn,.git,_darcs,.bzr,.hg,CMakeFiles,CMakeTmp,CMakeTmpQmake,.moc,.obj,.pch,.uic,.npm,.yarn,.yarn-cache,__pycache__,node_modules,node_packages,nbproject,.terraform,.venv,venv,core-dumps,lost+found";
"baloofilerc"."General"."exclude filters version" = 9;
"dolphinrc"."KFileDialog Settings"."Places Icons Auto-resize" = false;
"dolphinrc"."KFileDialog Settings"."Places Icons Static Size" = 22;
"kactivitymanagerdrc"."activities"."0bf1ae9c-755f-46e4-9598-f826be1dc9aa" = "Default";
"kactivitymanagerdrc"."activities"."58ba9d93-72ae-4de8-8ee6-92ce0e189538" = "Default";
"kactivitymanagerdrc"."main"."currentActivity" = "0bf1ae9c-755f-46e4-9598-f826be1dc9aa";
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."ClickMethod" = 2;
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."NaturalScroll" = true;
"kcminputrc"."Libinput/2362/628/PIXA3854:00 093A:0274 Touchpad"."TapDragLock" = true;
"kcminputrc"."Libinput/273/6202/SteelSeries Aerox 3 Wireless Mouse"."PointerAcceleration" = 0.0;
"kcminputrc"."Libinput/273/6202/SteelSeries Aerox 3 Wireless Mouse"."PointerAccelerationProfile" = 1;
"kcminputrc"."Mouse"."X11LibInputXAccelProfileFlat" = true;
"kcminputrc"."Mouse"."XLbInptAccelProfileFlat" = false;
"kcminputrc"."Mouse"."XLbInptPointerAcceleration" = "-0.6";
"kcminputrc"."Mouse"."cursorTheme" = "ePapirus";
"kded5rc"."Module-browserintegrationreminder"."autoload" = false;
"kded5rc"."Module-device_automounter"."autoload" = false;
"kdeglobals"."General"."AccentColor" = "168,57,175";
"kdeglobals"."General"."AllowKDEAppsToRememberWindowPositions" = true;
"kdeglobals"."General"."accentColorFromWallpaper" = true;
"kdeglobals"."KDE"."SingleClick" = true;
"kdeglobals"."KFileDialog Settings"."Allow Expansion" = false;
"kdeglobals"."KFileDialog Settings"."Automatically select filename extension" = true;
"kdeglobals"."KFileDialog Settings"."Breadcrumb Navigation" = false;
"kdeglobals"."KFileDialog Settings"."Decoration position" = 2;
"kdeglobals"."KFileDialog Settings"."LocationCombo Completionmode" = 5;
"kdeglobals"."KFileDialog Settings"."PathCombo Completionmode" = 5;
"kdeglobals"."KFileDialog Settings"."Show Bookmarks" = false;
"kdeglobals"."KFileDialog Settings"."Show Full Path" = false;
"kdeglobals"."KFileDialog Settings"."Show Inline Previews" = true;
"kdeglobals"."KFileDialog Settings"."Show Preview" = false;
"kdeglobals"."KFileDialog Settings"."Show Speedbar" = true;
"kdeglobals"."KFileDialog Settings"."Show hidden files" = false;
"kdeglobals"."KFileDialog Settings"."Sort by" = "Name";
"kdeglobals"."KFileDialog Settings"."Sort directories first" = true;
"kdeglobals"."KFileDialog Settings"."Sort hidden files last" = false;
"kdeglobals"."KFileDialog Settings"."Sort reversed" = false;
"kdeglobals"."KFileDialog Settings"."Speedbar Width" = 140;
"kdeglobals"."KFileDialog Settings"."View Style" = "DetailTree";
"kdeglobals"."KScreen"."ScreenScaleFactors" = "eDP-1=1;";
"kdeglobals"."KScreen"."XwaylandClientsScale" = false;
"kdeglobals"."WM"."activeBackground" = "239,236,244";
"kdeglobals"."WM"."activeBlend" = "160,110,59";
"kdeglobals"."WM"."activeForeground" = "88,82,96";
"kdeglobals"."WM"."inactiveBackground" = "239,236,244";
"kdeglobals"."WM"."inactiveBlend" = "126,120,135";
"kdeglobals"."WM"."inactiveForeground" = "88,82,96";
"kglobalshortcutsrc"."ActivityManager"."_k_friendly_name" = "Activity Manager";
"kglobalshortcutsrc"."KDE Keyboard Layout Switcher"."_k_friendly_name" = "Keyboard Layout Switcher";
"kglobalshortcutsrc"."kaccess"."_k_friendly_name" = "Accessibility";
"kglobalshortcutsrc"."kcm_touchpad"."_k_friendly_name" = "Touchpad";
"kglobalshortcutsrc"."kded6"."_k_friendly_name" = "kded6";
"kglobalshortcutsrc"."kmix"."_k_friendly_name" = "Audio Volume";
"kglobalshortcutsrc"."ksmserver"."_k_friendly_name" = "Session Management";
"kglobalshortcutsrc"."kwin"."_k_friendly_name" = "KWin";
"kglobalshortcutsrc"."mediacontrol"."_k_friendly_name" = "Media Controller";
"kglobalshortcutsrc"."org_kde_powerdevil"."_k_friendly_name" = "KDE Power Management System";
"kglobalshortcutsrc"."plasmashell"."_k_friendly_name" = "plasmashell";
"krunnerrc"."General"."FreeFloating" = true;
"kscreenlockerrc"."Greeter/LnF/General"."showMediaControls" = false;
"kscreenlockerrc"."Greeter/Wallpaper/org.kde.potd/General"."Provider" = "noaa";
"kscreenlockerrc"."Greeter/Wallpaper/org/kde/image/General"."Image" = "/etc/nixos/git/wallpapers/default/wallpaper1.png";
"kscreenlockerrc"."Greeter/Wallpaper/org/kde/image/General"."PreviewImage" = "/etc/nixos/git/wallpapers/default/wallpaper1.png";
"kscreenlockerrc"."Greeter/Wallpaper/org/kde/image/General"."SlidePaths" = "/run/current-system/sw/share/wallpapers/";
"kscreenlockerrc"."Greeter/Wallpaper/org/kde/potd/General"."Provider" = "simonstalenhag";
"kwalletrc"."Wallet"."First Use" = false;
"kwinrc"."Desktops"."Id_1" = "6397510c-04f5-4aaf-bff9-66cea108b111";
"kwinrc"."Desktops"."Id_2" = "99b48444-5d80-4ea3-9602-35235349b6f9";
"kwinrc"."Desktops"."Id_3" = "4a2ae169-0b7e-43ed-97c6-8a2d55b0a379";
"kwinrc"."Desktops"."Id_4" = "2bca1e94-a84d-4514-a2c8-a7acfaf10371";
"kwinrc"."Desktops"."Number" = 4;
"kwinrc"."Desktops"."Rows" = 1;
"kwinrc"."NightColor"."Active" = true;
"kwinrc"."NightColor"."LatitudeAuto" = 35.01;
"kwinrc"."NightColor"."LongitudeAuto" = 135.75;
"kwinrc"."Plugins"."desktopchangeosdEnabled" = true;
"kwinrc"."Script-desktopchangeosd"."PopupHideDelay" = 250;
"kwinrc"."Tiling"."padding" = 4;
"kwinrc"."Tiling/4fd0826e-0002-536e-8946-e04871dbcd09"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.6890625000000009},{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.3109374999999991}]}";
"kwinrc"."Tiling/8fb41a9a-cf1b-523a-8368-54507f6885e6"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.6910156249999999},{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.3089843750000001}]}";
"kwinrc"."Tiling/91ea1083-8eb3-59af-b2ce-03778d8cef2a"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.36484375},{\"width\":0.635156249999999}]}";
"kwinrc"."Tiling/d67b1509-69a3-585f-adcc-1048a4265c4f"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}]}";
"kwinrc"."Tiling/e5159c0a-c653-5a64-a969-4b3420493375"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"layoutDirection\":\"vertical\",\"tiles\":[{\"height\":0.5},{\"height\":0.5}],\"width\":0.3679687499999998},{\"width\":0.6320312499999998}]}";
"kwinrc"."Windows"."ElectricBorders" = 1;
"kwinrc"."org.kde.kdecoration2"."BorderSize" = "None";
"kwinrc"."org.kde.kdecoration2"."BorderSizeAuto" = false;
"kwinrc"."org.kde.kdecoration2"."ButtonsOnLeft" = "M";
"kwinrc"."org/kde/kdecoration2"."BorderSize" = "None";
"kwinrc"."org/kde/kdecoration2"."BorderSizeAuto" = false;
"plasma-localerc"."Formats"."LANG" = "en_US.UTF-8";
"plasmarc"."Wallpapers"."usersWallpapers" = "/etc/nixos/git/wallpapers/default/wallpaper1.png,/nix/store/ix6w9j5y3pzmf8fqw75cbhbz8mrlkfkx-stylix-kde-theme/share/wallpapers/stylix/";
"systemsettingsrc"."KFileDialog Settings"."detailViewIconSize" = 16;
};
};
}

View file

@ -22,7 +22,7 @@
username ? "albert", username ? "albert",
desktop ? null, desktop ? null,
system ? "x86_64-linux", system ? "x86_64-linux",
theme ? "default", theme ? "stylix",
type ? "default" type ? "default"
}: inputs.home-manager.lib.homeManagerConfiguration { }: inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.${system}; pkgs = inputs.nixpkgs.legacyPackages.${system};
@ -35,7 +35,7 @@
username ? "albert", username ? "albert",
desktop ? null, desktop ? null,
system ? "x86_64-linux", system ? "x86_64-linux",
theme ? "default", theme ? "stylix",
type ? "default", type ? "default",
repo ? "nixpkgs", repo ? "nixpkgs",
unfree ? false, unfree ? false,
@ -83,7 +83,7 @@
desktop ? null, desktop ? null,
gpu ? null, gpu ? null,
system ? "x86_64-linux", system ? "x86_64-linux",
theme ? "default", theme ? "stylix",
type ? "default", type ? "default",
repo ? "nixpkgs-unstable" repo ? "nixpkgs-unstable"
}: inputs.${repo}.lib.nixosSystem { }: inputs.${repo}.lib.nixosSystem {
@ -113,7 +113,7 @@
desktop ? null, desktop ? null,
gpu ? null, gpu ? null,
system ? "x86_64-linux", system ? "x86_64-linux",
theme ? "default", theme ? "stylix",
type ? "default", type ? "default",
repo ? "nixpkgs", repo ? "nixpkgs",
unfree ? false unfree ? false
@ -149,7 +149,7 @@
desktop ? null, desktop ? null,
system ? "x86_64-linux", system ? "x86_64-linux",
gpu ? null, gpu ? null,
theme ? "default", theme ? "stylix",
repo ? "nixpkgs", repo ? "nixpkgs",
unfree ? false, unfree ? false,
format format
@ -192,7 +192,7 @@
desktop ? null, desktop ? null,
system ? "x86_64-linux", system ? "x86_64-linux",
gpu ? null, gpu ? null,
theme ? "default", theme ? "stylix",
format format
}: inputs.nixos-generators.nixosGenerate { }: inputs.nixos-generators.nixosGenerate {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu system theme format; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu system theme format; };

View file

@ -18,8 +18,8 @@
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
enable = true; enable = true;
xkb.layout = "us"; layout = "us";
xkb.variant = ""; xkbVariant = "";
autorun = true; autorun = true;
desktopManager.xfce.enable = true; desktopManager.xfce.enable = true;
}; };

View file

@ -4,6 +4,7 @@
# List packages installed in system profile # List packages installed in system profile
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nfs-utils # nfs network share tools nfs-utils # nfs network share tools
nixfmt # Formatting nix output
sbctl # Secureboot Control sbctl # Secureboot Control
wget # WebGet wget # WebGet
killall # Killall killall # Killall

View file

@ -1,7 +1,7 @@
{ hostname, ... }: { { hostname, ... }: {
# enable passwordless elevation # enable passwordless elevation
# Useful for deploy-rs # Useful for deploy-rs
security.pam.sshAgentAuth.enable = true; security.pam.enableSSHAgentAuth = true;
programs.ssh.startAgent = true; programs.ssh.startAgent = true;
# By default no ports are open. # By default no ports are open.

View file

@ -67,7 +67,7 @@
# nVidia gpu options # nVidia gpu options
pkgs.gwe pkgs.gwe
pkgs.nvtopPackages.nvidia pkgs.nvtop-nvidia
# WINE # WINE
# support 32-bit only # support 32-bit only
pkgs.wine pkgs.wine

View file

@ -76,7 +76,7 @@
wineWowPackages.stable wineWowPackages.stable
winetricks winetricks
wineWowPackages.waylandFull wineWowPackages.waylandFull
nvtopPackages.amd nvtop-amd
distrobox distrobox
# RGB stuff # RGB stuff
openrgb-with-all-plugins openrgb-with-all-plugins

View file

@ -11,6 +11,7 @@
pkgs.nix pkgs.nix
pkgs.git pkgs.git
pkgs.vim pkgs.vim
pkgs.nixfmt
pkgs.ssh-to-pgp pkgs.ssh-to-pgp
(pkgs.callPackage sops-nix {}).sops-import-keys-hook (pkgs.callPackage sops-nix {}).sops-import-keys-hook
]; ];

View file

@ -1,9 +0,0 @@
{ pkgs, ... }: {
# Themes https://github.com/tinted-theming/base16-schemes
stylix = {
image = /etc/nixos/git/docs/icons/nixos/white.png;
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
autoEnable = true;
};
}

View file

@ -1,4 +0,0 @@
{ lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "ayu-mirage";
stylix.targets.nixvim.enable = false;
}

View file

@ -1,7 +1,7 @@
{ ... }: { { ... }: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/green/wallpaper2.png; image = /etc/nixos/git/docs/icons/nixos/white.png;
polarity = "dark"; polarity = "dark";
base16Scheme = ./everforest-dark-hard.yaml; base16Scheme = ./everforest-dark-hard.yaml;
autoEnable = true; autoEnable = true;

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, system, theme, ...}: { {lib, inputs, pkgs, gpu, system, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/gruvbox/wallpaper1.png; image = /etc/nixos/git/docs/icons/nixos/white.png;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
autoEnable = true; autoEnable = true;

View file

@ -1,7 +1,8 @@
{ ... }: { { ... }: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/sakura-day/wallpaper1.png; # Placeholder as it's required for some reason
image = /etc/nixos/git/docs/icons/nixos/white.png;
base16Scheme = ./sakura.yaml; base16Scheme = ./sakura.yaml;
autoEnable = true; autoEnable = true;
}; };

View file

@ -1,7 +1,8 @@
{... }: { {... }: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/sakura-night/wallpaper1.png; # Placeholder as it's required for some reason
image = /etc/nixos/git/docs/icons/nixos/white.png;
base16Scheme = ./sakura-night.yaml; base16Scheme = ./sakura-night.yaml;
polarity = "dark"; polarity = "dark";
autoEnable = true; autoEnable = true;

View file

@ -1,9 +0,0 @@
{ pkgs, ... }: {
# Themes https://github.com/tinted-theming/base16-schemes
stylix = {
image = /etc/nixos/git/wallpapers/stylix/wallpaper1.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave-light.yaml";
polarity = "light";
autoEnable = true;
};
}

View file

@ -1,4 +0,0 @@
{ lib, ... }: {
programs.nixvim.colorscheme = lib.mkForce "ayu-mirage";
stylix.targets.nixvim.enable = false;
}

View file

@ -1,8 +1,9 @@
{ pkgs, ... }: { { pkgs, ... }: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/stylix/wallpaper1.png; image = /etc/nixos/git/docs/icons/nixos/white.png;
polarity = "dark"; polarity = "dark";
# base16Scheme = ./sakura-night.yaml;
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
autoEnable = true; autoEnable = true;
}; };

View file

@ -0,0 +1,18 @@
scheme: "Rosé Pine Moon"
variant: "dark"
base00: "232136"
base01: "2a273f"
base02: "393552"
base03: "6e6a86"
base04: "908caa"
base05: "e0def4"
base06: "e0def4"
base07: "56526e"
base08: "eb6f92"
base09: "f6c177"
base0A: "ea9a97"
base0B: "3e8fb0"
base0C: "9ccfd8"
base0D: "c4a7e7"
base0E: "f6c177"
base0F: "56526e"

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, system, theme, ...}: { {lib, inputs, pkgs, gpu, system, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/tokyo-day/wallpaper1.png; image = /etc/nixos/git/docs/icons/nixos/white.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-light.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-light.yaml";
autoEnable = true; autoEnable = true;
}; };

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, system, theme, ...}: { {lib, inputs, pkgs, gpu, system, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/tokyo-night/wallpaper1.png; image = /etc/nixos/git/docs/icons/nixos/white.png;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-dark.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-dark.yaml";
autoEnable = true; autoEnable = true;