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
];
smayzy.lf.enable = true;
smayzy.kitty.enable = true;
home.username = "smayzy";
home.homeDirectory = "/home/smayzy";
home.stateVersion = "25.05";

View File

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

View File

@ -1,14 +1,20 @@
{
pkgs,
lib,
smayzy,
config,
...
}:
let
inherit (lib) mkIf;
inherit (lib) mkIf mkOption types;
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;
programs.lf = {

View File

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

View File

@ -1,9 +1,15 @@
{ smayzy, lib, ... }:
{ config, lib, ... }:
let
inherit (lib) mkIf;
inherit (lib) mkIf mkOption types;
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 = {
enable = true;
settings = {

View File

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

View File

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

View File

@ -2,6 +2,5 @@
{
imports = [
./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.kitty.enable = true;
environment.systemPackages = with pkgs; [
wofi
wlogout
@ -40,6 +38,7 @@ in
hyprlock
pavucontrol
cliphist
kitty
grim
slurp
];