Compare commits

...

2 Commits

Author SHA1 Message Date
852d9a2baa clean
All checks were successful
nix flake show / show-flake (push) Successful in 50s
2025-08-02 15:24:45 +02:00
1f6904cbc9 clean 2025-08-02 15:20:59 +02:00
10 changed files with 84 additions and 52 deletions

View File

@ -5,10 +5,6 @@
../../modules/home-manager/default.nix ../../modules/home-manager/default.nix
]; ];
smayzy.lf.enable = true;
smayzy.kitty.enable = true;
home.username = "smayzy"; home.username = "smayzy";
home.homeDirectory = "/home/smayzy"; home.homeDirectory = "/home/smayzy";
home.stateVersion = "25.05"; home.stateVersion = "25.05";

View File

@ -1,36 +1,52 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = imports = [
[ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/05e716ac-e6a2-407d-9941-5ad95db74698"; device = "/dev/disk/by-uuid/05e716ac-e6a2-407d-9941-5ad95db74698";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/A238-B4BF"; device = "/dev/disk/by-uuid/A238-B4BF";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [
"fmask=0077"
"dmask=0077"
];
}; };
fileSystems."/home" = fileSystems."/home" = {
{ device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f"; device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = swapDevices = [
[ { device = "/dev/disk/by-uuid/5baebd62-0a58-47c0-b2de-1f5c2970fadf"; } { device = "/dev/disk/by-uuid/5baebd62-0a58-47c0-b2de-1f5c2970fadf"; }
]; ];
# 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

View File

@ -1,20 +1,14 @@
{ {
pkgs, pkgs,
lib, lib,
config, smayzy,
... ...
}: }:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf;
in in
{ {
options.smayzy.lf.enable = mkOption { config = mkIf smayzy.base-cli-pkgs.enable {
type = types.bool;
default = false;
description = "set to true if you want to use a nvidia GC";
};
config = mkIf config.smayzy.lf.enable {
xdg.configFile."lf/icons".source = ./icons; xdg.configFile."lf/icons".source = ./icons;
programs.lf = { programs.lf = {

View File

@ -7,11 +7,11 @@ in
services.mako = { services.mako = {
enable = true; enable = true;
settings = { settings = {
font="JetBrainsMono 10"; font = "JetBrainsMono 10";
background-color="#282828"; background-color = "#282828";
text-color="#ebdbb2"; text-color = "#ebdbb2";
border-color="#98971a"; border-color = "#98971a";
border-size=2; border-size = 2;
}; };
}; };
}; };

View File

@ -1,15 +1,9 @@
{ config, lib, ... }: { smayzy, lib, ... }:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf;
in in
{ {
options.smayzy.kitty.enable = mkOption { config = mkIf smayzy.kitty.enable {
type = types.bool;
default = false;
description = "kitty config";
};
config = mkIf config.smayzy.kitty.enable {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
settings = { settings = {

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }: {
lib,
config,
pkgs,
...
}:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf mkOption types;
in in

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ...}: {
config,
lib,
pkgs,
...
}:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf mkOption types;
in in

View File

@ -2,5 +2,6 @@
{ {
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./kitty.nix
]; ];
} }

View File

@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.kitty.enable = mkOption {
type = types.bool;
default = false;
description = "kitty";
};
config = mkIf config.smayzy.kitty.enable {
environment.systemPackages = with pkgs; [ kitty ];
};
}

View File

@ -27,6 +27,8 @@ in
smayzy.mako.enable = true; smayzy.mako.enable = true;
smayzy.kitty.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wofi wofi
wlogout wlogout
@ -38,7 +40,6 @@ in
hyprlock hyprlock
pavucontrol pavucontrol
cliphist cliphist
kitty
grim grim
slurp slurp
]; ];