171 current 2025-06-03 18:14:20 25.11.20250531.910796c 6.15.0 *

This commit is contained in:
2025-06-03 18:14:28 -04:00
parent b60a833fe4
commit e691f57878
7 changed files with 342 additions and 349 deletions

View File

@@ -1,29 +1,33 @@
{ config, pkgs, lib, inputs, ... }:
{
config,
pkgs,
lib,
inputs,
...
}: {
# Bootloader.
boot.loader.systemd-boot = {
enable = true;
configurationLimit = 10;
configurationLimit = 10;
};
boot.loader.efi.canTouchEfiVariables = true;
# Garbage collection
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 1w";
dates = "weekly";
options = "--delete-older-than 1w";
};
# Optimize store
nix.settings.auto-optimise-store = true;
# Use latest stable kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# Allow power management
powerManagement.enable = true;
# Firmware updates
services.fwupd.enable = true;
@@ -55,11 +59,11 @@
services.xserver.enable = true;
services.displayManager.sddm = {
enable = true;
extraPackages = [ pkgs.kdePackages.sddm-kcm ];
extraPackages = [pkgs.kdePackages.sddm-kcm];
wayland.enable = true;
enableHidpi = true;
};
services.desktopManager.plasma6.enable = true;
environment.plasma6.excludePackages = with pkgs.kdePackages; [
elisa
@@ -69,8 +73,8 @@
# Hyprland
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
# Catppuccin
@@ -107,13 +111,13 @@
};
i18n.inputMethod = {
type = "fcitx5";
enable = true;
fcitx5.addons = with pkgs; [
fcitx5-mozc
kdePackages.fcitx5-qt
];
fcitx5.waylandFrontend = true;
type = "fcitx5";
enable = true;
fcitx5.addons = with pkgs; [
fcitx5-mozc
kdePackages.fcitx5-qt
];
fcitx5.waylandFrontend = true;
};
# Fonts
@@ -140,8 +144,8 @@
};
# Enable Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = ["nix-command" "flakes"];
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -154,13 +158,13 @@
users.users.chase = {
isNormalUser = true;
description = "Chase";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = ["networkmanager" "wheel"];
};
# Install firefox
programs.firefox = {
enable = true;
nativeMessagingHosts.packages = [ pkgs.firefoxpwa ];
nativeMessagingHosts.packages = [pkgs.firefoxpwa];
policies = {
DisableTelemetry = true;
DisableFirefoxAccounts = true;
@@ -172,12 +176,12 @@
# Install git and enable cache
programs.git = {
enable = true;
config = {
init = {
defaultBranch = "main";
config = {
init = {
defaultBranch = "main";
};
credential = {
helper = "cache --timeout 21600";
credential = {
helper = "cache --timeout 21600";
};
};
};
@@ -185,16 +189,16 @@
# Install Neovim
programs.neovim = {
enable = true;
defaultEditor = true;
defaultEditor = true;
configure = {
customRC = ''
set autoindent
set number relativenumber
set tabstop=4
colorscheme catppuccin-mocha
set autoindent
set number relativenumber
set tabstop=4
colorscheme catppuccin-mocha
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [ catppuccin-nvim ];
start = [catppuccin-nvim];
};
};
viAlias = true;
@@ -215,13 +219,13 @@
bitwarden-cli
bitwarden-desktop
(catppuccin-kde.override {
flavour = [ "mocha" ];
accents = [ "pink" ];
winDecStyles = [ "classic" ];
flavour = ["mocha"];
accents = ["pink"];
winDecStyles = ["classic"];
})
cifs-utils
firefoxpwa
flashrom
flashrom
gcc
nixd
pciutils
@@ -232,14 +236,14 @@
wget
];
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
# ssh agent
# programs.mtr.enable = true;
programs.gnupg.agent.enable = true;
programs.ssh = {
enableAskPassword = false;
enableAskPassword = false;
};
# List services that you want to enable:
@@ -251,10 +255,10 @@
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
settings = {
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
@@ -271,5 +275,4 @@
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.11"; # Did you read the comment?
}