Compare commits
2 Commits
6c094967e3
...
852d9a2baa
| Author | SHA1 | Date | |
|---|---|---|---|
| 852d9a2baa | |||
| 1f6904cbc9 |
@ -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";
|
||||||
|
|||||||
@ -1,37 +1,53 @@
|
|||||||
# 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" =
|
|
||||||
{ 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
|
||||||
|
|||||||
@ -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 = {
|
||||||
|
|||||||
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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 = {
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
{ lib, config, pkgs, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkOption types;
|
inherit (lib) mkIf mkOption types;
|
||||||
in
|
in
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
{ config, lib, pkgs, ...}:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkOption types;
|
inherit (lib) mkIf mkOption types;
|
||||||
in
|
in
|
||||||
|
|||||||
@ -2,5 +2,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
|
./kitty.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
20
modules/nix/terminal/kitty.nix
Normal file
20
modules/nix/terminal/kitty.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user