changes
This commit is contained in:
parent
567de5ca7d
commit
81cca7b7bd
12 changed files with 104 additions and 54 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -237,16 +237,18 @@
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": [
|
||||||
|
"nixpkgs-stable"
|
||||||
|
],
|
||||||
"xwayland-satellite-stable": "xwayland-satellite-stable",
|
"xwayland-satellite-stable": "xwayland-satellite-stable",
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769582851,
|
"lastModified": 1769647464,
|
||||||
"narHash": "sha256-T2a9J3iZ+p+dSmrd8mGgehvXrzwnFlMF22BmBqYHkVg=",
|
"narHash": "sha256-SDZms/fjrXRgL+QA+RfvTMClhPGfPn1TnIdNwoujEo4=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "8942525e9d5c79f6b47cffef4992454c9b3f9b69",
|
"rev": "e3d4bf00f7d40fca03fecab5c7a46277a6eb9fed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -345,11 +347,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769318308,
|
"lastModified": 1769598131,
|
||||||
"narHash": "sha256-Mjx6p96Pkefks3+aA+72lu1xVehb6mv2yTUUqmSet6Q=",
|
"narHash": "sha256-e7VO/kGLgRMbWtpBqdWl0uFg8Y2XWFMdz0uUJvlML8o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1cd347bf3355fce6c64ab37d3967b4a2cb4b878c",
|
"rev": "fa83fd837f3098e3e678e6cf017b2b36102c7211",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -487,6 +489,7 @@
|
||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"noctalia": "noctalia",
|
"noctalia": "noctalia",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/master";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/master";
|
||||||
|
|
||||||
nix-cachyos-kernel = {
|
nix-cachyos-kernel = {
|
||||||
|
|
@ -38,6 +39,7 @@
|
||||||
niri = {
|
niri = {
|
||||||
url = "github:sodiboo/niri-flake";
|
url = "github:sodiboo/niri-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
|
||||||
# inputs.niri-stable.follows = "niri-blur";
|
# inputs.niri-stable.follows = "niri-blur";
|
||||||
# inputs.niri-unstable.follows = "niri-blur";
|
# inputs.niri-unstable.follows = "niri-blur";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -288,6 +288,28 @@
|
||||||
definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix-options = {
|
||||||
|
name = "Nix Options";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://search.nixos.org/options";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "packages";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "query";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
icon = nixIcon;
|
||||||
|
definedAliases = [ "@no" ];
|
||||||
|
};
|
||||||
|
|
||||||
nixos-wiki = {
|
nixos-wiki = {
|
||||||
name = "NixOS Wiki";
|
name = "NixOS Wiki";
|
||||||
urls = [ { template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; } ];
|
urls = [ { template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; } ];
|
||||||
|
|
|
||||||
|
|
@ -198,8 +198,8 @@
|
||||||
ShowAllMessageButtons.enabled = false;
|
ShowAllMessageButtons.enabled = false;
|
||||||
ShowConnections.enabled = false;
|
ShowConnections.enabled = false;
|
||||||
ShowHiddenChannels = {
|
ShowHiddenChannels = {
|
||||||
enabled = false;
|
enabled = true;
|
||||||
showMode = 0;
|
showMode = 1;
|
||||||
hideUnreads = true;
|
hideUnreads = true;
|
||||||
defaultAllowedUsersAndRolesDropdownState = true;
|
defaultAllowedUsersAndRolesDropdownState = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,10 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ openmw ];
|
home = {
|
||||||
|
packages = with pkgs; [ openmw ];
|
||||||
|
sessionVariables = {
|
||||||
|
SDL_VIDEO_DRIVER = "wayland";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,9 @@
|
||||||
{
|
{ pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
kdePackages.qttools
|
kdePackages.qttools
|
||||||
eza
|
eza
|
||||||
|
pigz
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
|
@ -15,6 +11,7 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ssh = "kitty-ssh";
|
ssh = "kitty-ssh";
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
|
gzip = "pigz";
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
gl = "git log";
|
gl = "git log";
|
||||||
ga = "git add -v .";
|
ga = "git add -v .";
|
||||||
|
|
|
||||||
|
|
@ -113,9 +113,10 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
include = "/home/${config.userOptions.username}/.config/kitty/themes/kitty-colors.conf";
|
include = "/home/${config.userOptions.username}/.config/kitty/themes/kitty-colors.conf";
|
||||||
scrollback_lines = 10000;
|
scrollback_lines = 10000;
|
||||||
|
wheel_scroll_multiplier = 5.0;
|
||||||
|
touch_scroll_multiplier = 5.0;
|
||||||
enable_audio_bell = false;
|
enable_audio_bell = false;
|
||||||
update_check_interval = 0;
|
update_check_interval = 0;
|
||||||
wheel_scroll_multiplier = 10.0;
|
|
||||||
confirm_os_window_close = 0;
|
confirm_os_window_close = 0;
|
||||||
window_padding_width = 4;
|
window_padding_width = 4;
|
||||||
tab_bar_min_tabs = 2;
|
tab_bar_min_tabs = 2;
|
||||||
|
|
|
||||||
|
|
@ -132,10 +132,10 @@
|
||||||
window-rules = [
|
window-rules = [
|
||||||
{
|
{
|
||||||
geometry-corner-radius = {
|
geometry-corner-radius = {
|
||||||
top-left = 16.0;
|
top-left = 8.0;
|
||||||
top-right = 16.0;
|
top-right = 8.0;
|
||||||
bottom-left = 16.0;
|
bottom-left = 8.0;
|
||||||
bottom-right = 16.0;
|
bottom-right = 8.0;
|
||||||
};
|
};
|
||||||
clip-to-geometry = true;
|
clip-to-geometry = true;
|
||||||
opacity = 1.0;
|
opacity = 1.0;
|
||||||
|
|
@ -495,6 +495,12 @@
|
||||||
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
"Mod+Shift+Minus".action.set-window-height = "-10%";
|
||||||
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
"Mod+Shift+Equal".action.set-window-height = "+10%";
|
||||||
|
|
||||||
|
"Mod+Ctrl+Minus".action.set-column-width = "-1%";
|
||||||
|
"Mod+Ctrl+Equal".action.set-column-width = "+1%";
|
||||||
|
|
||||||
|
"Mod+Ctrl+Shift+Minus".action.set-window-height = "-1%";
|
||||||
|
"Mod+Ctrl+Shift+Equal".action.set-window-height = "+1%";
|
||||||
|
|
||||||
"Mod+V".action.toggle-window-floating = { };
|
"Mod+V".action.toggle-window-floating = { };
|
||||||
"Mod+Shift+V".action.switch-focus-between-floating-and-tiling = { };
|
"Mod+Shift+V".action.switch-focus-between-floating-and-tiling = { };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
mOnTertiary = base00;
|
mOnTertiary = base00;
|
||||||
mError = base12;
|
mError = base12;
|
||||||
mOnError = base00;
|
mOnError = base00;
|
||||||
mSurface = base00;
|
mSurface = "#000000";
|
||||||
mOnSurface = base05;
|
mOnSurface = base05;
|
||||||
mSurfaceVariant = base01;
|
mSurfaceVariant = base01;
|
||||||
mOnSurfaceVariant = base05;
|
mOnSurfaceVariant = base05;
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
backgroundOpacity = 1;
|
backgroundOpacity = 1;
|
||||||
monitors = [ ];
|
monitors = [ ];
|
||||||
density = "spacious";
|
density = "spacious";
|
||||||
showCapsule = true;
|
showCapsule = false;
|
||||||
capsuleOpacity = 1;
|
capsuleOpacity = 1;
|
||||||
floating = false;
|
floating = false;
|
||||||
marginVertical = 0.25;
|
marginVertical = 0.25;
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
colorizeIcons = false;
|
colorizeIcons = false;
|
||||||
hideMode = "hidden";
|
hideMode = "hidden";
|
||||||
id = "ActiveWindow";
|
id = "ActiveWindow";
|
||||||
maxWidth = 500;
|
maxWidth = 600;
|
||||||
scrollingMode = "always";
|
scrollingMode = "always";
|
||||||
showIcon = true;
|
showIcon = true;
|
||||||
useFixedWidth = false;
|
useFixedWidth = false;
|
||||||
|
|
|
||||||
|
|
@ -17,28 +17,33 @@
|
||||||
boot = {
|
boot = {
|
||||||
plymouth = {
|
plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
|
||||||
};
|
};
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
timeout = 3;
|
timeout = 3;
|
||||||
limine = {
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxGenerations = 3;
|
consoleMode = lib.mkForce "auto";
|
||||||
extraConfig = ''
|
configurationLimit = 10;
|
||||||
timeout: 3
|
|
||||||
'';
|
|
||||||
style = {
|
|
||||||
wallpapers = [ ];
|
|
||||||
backdrop = "#1e1e2e";
|
|
||||||
interface = {
|
|
||||||
branding = "kova's nixos!";
|
|
||||||
brandingColor = 5;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
efi = {
|
|
||||||
canTouchEfiVariables = false;
|
|
||||||
};
|
};
|
||||||
|
# limine = {
|
||||||
|
# enable = true;
|
||||||
|
# maxGenerations = 10;
|
||||||
|
# extraConfig = ''
|
||||||
|
# timeout: 3
|
||||||
|
# '';
|
||||||
|
# style = {
|
||||||
|
# wallpapers = [ ];
|
||||||
|
# wallpaperStyle = "centered";
|
||||||
|
# backdrop = "#1e1e2e";
|
||||||
|
# interface = {
|
||||||
|
# branding = "kova's nixos!";
|
||||||
|
# brandingColor = 5;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"quiet"
|
"quiet"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
ddcutil
|
ddcutil
|
||||||
mangohud
|
mangohud
|
||||||
(bottles.override { removeWarningPopup = true; })
|
(bottles.override { removeWarningPopup = true; })
|
||||||
|
openrgb
|
||||||
];
|
];
|
||||||
|
|
||||||
# enable ddcutil
|
# enable ddcutil
|
||||||
|
|
@ -22,7 +23,9 @@
|
||||||
'';
|
'';
|
||||||
hardware.i2c.enable = true;
|
hardware.i2c.enable = true;
|
||||||
|
|
||||||
boot.loader.systemd-boot.consoleMode = "max";
|
# enable rgb support
|
||||||
|
services.hardware.openrgb.enable = true;
|
||||||
|
|
||||||
# boot.kernelPackages = pkgs.linuxPackages;
|
# boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
# let's use the CachyOS kernel instead!
|
# let's use the CachyOS kernel instead!
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,31 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
asahi-artwork = pkgs.fetchFromGitHub {
|
||||||
|
owner = "AsahiLinux";
|
||||||
|
repo = "artwork";
|
||||||
|
rev = "80d14f8b6f485b310e305a84b4b806361518ddd1";
|
||||||
|
hash = "sha256-1r7gPFsn3GmKO4YsixsK7eyQWfVjsWnuOEtSCQequn8=";
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
boot.kernelParams = [ "appledrm.show_notch=1" ];
|
boot = {
|
||||||
|
kernelParams = [ "appledrm.show_notch=1" ];
|
||||||
|
m1n1CustomLogo = "${asahi-artwork}/logos/png_256/AsahiLinux_logomark.png";
|
||||||
|
plymouth.logo = lib.mkForce "${asahi-artwork}/logos/png_64/AsahiLinux_logomark.png";
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
programs.dconf.profiles.gdm.databases = [
|
||||||
ddcutil
|
{
|
||||||
|
settings."org/gnome/login-screen".logo =
|
||||||
|
"${asahi-artwork}/logos/svg/AsahiLinux_logo_horizontal_darkbg.svg";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.extraModulePackages = [ config.boot.kernelPackages.ddcci-driver ];
|
|
||||||
boot.kernelModules = [
|
|
||||||
"i2c-dev"
|
|
||||||
"ddcci_backlight"
|
|
||||||
];
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
|
||||||
'';
|
|
||||||
hardware.i2c.enable = true;
|
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Use the rootless mode - run Docker daemon as non-root user
|
# Use the rootless mode - run Docker daemon as non-root user
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue