mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:58:12 +09:00
fix
This commit is contained in:
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.btop = {
|
options.my.applications.btop = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.claude = {
|
options.my.applications.claude = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.fcitx5 = {
|
options.my.applications.fcitx5 = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.ghostty = {
|
options.my.applications.ghostty = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.git = {
|
options.my.applications.git = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.gtk = {
|
options.my.applications.gtk = {
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
{ lib, config, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.my.applications.gtk.system;
|
cfg = config.my.applications.gtk.system;
|
||||||
in
|
in
|
||||||
@@ -10,5 +14,7 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
programs.seahorse.enable = true;
|
programs.seahorse.enable = true;
|
||||||
|
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.niri = {
|
options.my.applications.niri = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.noctalia = {
|
options.my.applications.noctalia = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.ssh = {
|
options.my.applications.ssh = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home
|
./home
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.vim = {
|
options.my.applications.vim = {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./ui
|
|
||||||
./editor
|
./editor
|
||||||
|
./ui
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./snacks.nix
|
|
||||||
./treesitter.nix
|
|
||||||
./blink-cmp.nix
|
|
||||||
./gitsigns.nix
|
|
||||||
./comment.nix
|
|
||||||
./autopairs.nix
|
./autopairs.nix
|
||||||
./lsp-signature.nix
|
./blink-cmp.nix
|
||||||
./copilot.nix
|
./comment.nix
|
||||||
./trouble.nix
|
|
||||||
./conform.nix
|
./conform.nix
|
||||||
./surround.nix
|
./copilot.nix
|
||||||
./git.nix
|
|
||||||
./git-conflict.nix
|
|
||||||
./glance.nix
|
|
||||||
./flash.nix
|
./flash.nix
|
||||||
./todo-comments.nix
|
./git-conflict.nix
|
||||||
|
./git.nix
|
||||||
|
./gitsigns.nix
|
||||||
|
./glance.nix
|
||||||
|
./lsp-signature.nix
|
||||||
|
./snacks.nix
|
||||||
./spectre.nix
|
./spectre.nix
|
||||||
|
./surround.nix
|
||||||
|
./todo-comments.nix
|
||||||
|
./treesitter.nix
|
||||||
|
./trouble.nix
|
||||||
./wakatime.nix
|
./wakatime.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,20 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./lualine.nix
|
|
||||||
./neo-tree.nix
|
|
||||||
./blankline.nix
|
|
||||||
./which-key.nix
|
|
||||||
./web-devicons.nix
|
|
||||||
./toggleterm.nix
|
|
||||||
./treesitter.nix
|
|
||||||
./barbar.nix
|
./barbar.nix
|
||||||
./lightbulb.nix
|
./blankline.nix
|
||||||
./colorizer.nix
|
./colorizer.nix
|
||||||
./dropbar.nix
|
./dropbar.nix
|
||||||
./scrollbar.nix
|
./lightbulb.nix
|
||||||
./ufo.nix
|
./lualine.nix
|
||||||
./zen-mode.nix
|
|
||||||
./markview.nix
|
./markview.nix
|
||||||
|
./neo-tree.nix
|
||||||
|
./scrollbar.nix
|
||||||
|
./toggleterm.nix
|
||||||
|
./treesitter.nix
|
||||||
|
./ufo.nix
|
||||||
|
./web-devicons.nix
|
||||||
|
./which-key.nix
|
||||||
|
./zen-mode.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.vscode = {
|
options.my.applications.vscode = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.zellij = {
|
options.my.applications.zellij = {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./system.nix
|
|
||||||
./home.nix
|
./home.nix
|
||||||
|
./system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options.my.applications.zsh = {
|
options.my.applications.zsh = {
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./applications
|
||||||
|
./drivers
|
||||||
|
./integrations
|
||||||
|
./system
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.system.audio;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.system.audio = {
|
||||||
|
enable = lib.mkEnableOption "Audio support (PipeWire)";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
jack.enable = true;
|
||||||
|
wireplumber.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,8 +4,14 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./nfs.nix
|
||||||
|
./uefi.nix
|
||||||
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.configurationLimit = lib.mkDefault 8;
|
loader.systemd-boot.configurationLimit = lib.mkDefault 8;
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
};
|
};
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,6 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
boot.supportedFilesystems = [ "nfs" ];
|
boot.supportedFilesystems = [ "nfs" ];
|
||||||
fuse.userAllowOther = true;
|
fuse.userAllowOther = true;
|
||||||
|
services.rpcbind.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,15 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./audio.nix
|
||||||
./boot
|
./boot
|
||||||
./nix.nix
|
|
||||||
./camera.nix
|
./camera.nix
|
||||||
./fingerprint.nix
|
./fingerprint.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./gc.nix
|
./gc.nix
|
||||||
./locale.nix
|
|
||||||
./hardware
|
./hardware
|
||||||
|
./locale.nix
|
||||||
./network
|
./network
|
||||||
|
./nix.nix
|
||||||
./power.nix
|
./power.nix
|
||||||
./secure-boot.nix
|
./secure-boot.nix
|
||||||
./user
|
./user
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./bluetooth.nix
|
||||||
|
./gui.nix
|
||||||
|
];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
enableRedistributableFirmware = lib.mkDefault true;
|
enableRedistributableFirmware = lib.mkDefault true;
|
||||||
keyboard.qmk.enable = true;
|
keyboard.qmk.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.fwupd.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./wifi.nix
|
||||||
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = host;
|
hostName = host;
|
||||||
|
|
||||||
|
|||||||
@@ -24,5 +24,14 @@ in
|
|||||||
services.power-profiles-daemon.enable = true;
|
services.power-profiles-daemon.enable = true;
|
||||||
services.tlp.enable = false;
|
services.tlp.enable = false;
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
|
|
||||||
|
services.logind = {
|
||||||
|
settings.Login = {
|
||||||
|
HandleLidSwitch = "suspend";
|
||||||
|
HandleLidSwitchDocked = "ignore";
|
||||||
|
HandleLidSwitchExternalPower = "suspend";
|
||||||
|
LidSwitchIgnoreInhibited = "no";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
options.my.stateVersions = {
|
options.my.stateVersions = {
|
||||||
nixos = lib.mkOption {
|
nixos = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "25.11";
|
default = "26.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
homeManager = lib.mkOption {
|
homeManager = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
default = "25.11";
|
default = "26.05";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user