Compare commits
2 Commits
6c094967e3
...
852d9a2baa
| Author | SHA1 | Date | |
|---|---|---|---|
| 852d9a2baa | |||
| 1f6904cbc9 |
@ -5,10 +5,6 @@
|
||||
../../modules/home-manager/default.nix
|
||||
];
|
||||
|
||||
smayzy.lf.enable = true;
|
||||
|
||||
smayzy.kitty.enable = true;
|
||||
|
||||
home.username = "smayzy";
|
||||
home.homeDirectory = "/home/smayzy";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
@ -1,36 +1,52 @@
|
||||
# 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
|
||||
|
||||
@ -1,20 +1,14 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
smayzy,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
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 {
|
||||
config = mkIf smayzy.base-cli-pkgs.enable {
|
||||
xdg.configFile."lf/icons".source = ./icons;
|
||||
|
||||
programs.lf = {
|
||||
|
||||
@ -1,15 +1,9 @@
|
||||
{ config, lib, ... }:
|
||||
{ smayzy, lib, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
options.smayzy.kitty.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "kitty config";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.kitty.enable {
|
||||
config = mkIf smayzy.kitty.enable {
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
{ config, lib, pkgs, ...}:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./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.kitty.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wofi
|
||||
wlogout
|
||||
@ -38,7 +40,6 @@ in
|
||||
hyprlock
|
||||
pavucontrol
|
||||
cliphist
|
||||
kitty
|
||||
grim
|
||||
slurp
|
||||
];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user