Compare commits

..

No commits in common. "852d9a2baa4c2ca72d4ee544c477f25ef742e57f" and "6c094967e38c6005fb6bf932a7bc692fdc8ba829" have entirely different histories.

10 changed files with 52 additions and 84 deletions

View File

@ -5,6 +5,10 @@
../../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,53 +1,37 @@
# 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 = [ boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
"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 = [ options = [ "fmask=0077" "dmask=0077" ];
"fmask=0077" };
"dmask=0077"
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/5baebd62-0a58-47c0-b2de-1f5c2970fadf"; }
]; ];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f";
fsType = "ext4";
};
swapDevices = [
{ 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
# (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

View File

@ -1,14 +1,20 @@
{ {
pkgs, pkgs,
lib, lib,
smayzy, config,
... ...
}: }:
let let
inherit (lib) mkIf; inherit (lib) mkIf mkOption types;
in in
{ {
config = mkIf smayzy.base-cli-pkgs.enable { options.smayzy.lf.enable = mkOption {
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,9 +1,15 @@
{ smayzy, lib, ... }: { config, lib, ... }:
let let
inherit (lib) mkIf; inherit (lib) mkIf mkOption types;
in in
{ {
config = mkIf smayzy.kitty.enable { options.smayzy.kitty.enable = mkOption {
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,9 +1,4 @@
{ { lib, config, pkgs, ... }:
lib,
config,
pkgs,
...
}:
let let
inherit (lib) mkIf mkOption types; inherit (lib) mkIf mkOption types;
in in

View File

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

View File

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

View File

@ -1,20 +0,0 @@
{
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,8 +27,6 @@ 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
@ -40,6 +38,7 @@ in
hyprlock hyprlock
pavucontrol pavucontrol
cliphist cliphist
kitty
grim grim
slurp slurp
]; ];