Moved all to moduler
This commit is contained in:
parent
72dafab57f
commit
70b6634137
41 changed files with 35 additions and 52 deletions
|
@ -11,9 +11,9 @@
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../config/base.nix
|
../../moduler/base.nix
|
||||||
../../config/users.nix
|
../../moduler/users.nix
|
||||||
../../shared/nginx.nix
|
../../moduler/nginx.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -11,24 +11,24 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
btusb = pkgs.callPackage ../../config/btusb.nix { inherit (config.boot.kernelPackages) kernel; };
|
btusb = pkgs.callPackage ../../moduler/btusb.nix { inherit (config.boot.kernelPackages) kernel; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
../../config/users.nix
|
../../moduler/users.nix
|
||||||
../../config/network.nix
|
../../moduler/network.nix
|
||||||
../../config/programs.nix
|
../../moduler/programs.nix
|
||||||
../../config/system.nix
|
../../moduler/system.nix
|
||||||
../../config/dev.nix
|
../../moduler/dev.nix
|
||||||
../../config/lsp.nix
|
../../moduler/lsp.nix
|
||||||
../../config/sway.nix
|
../../moduler/sway.nix
|
||||||
../../config/hyprland.nix
|
../../moduler/hyprland.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
home-manager.extraSpecialArgs = { inherit inputs pkgs; };
|
||||||
home-manager.users.fw = {
|
home-manager.users.fw = {
|
||||||
imports = [
|
imports = [
|
||||||
./../../config/home.nix
|
./../../config/home.nix
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../config/base.nix
|
../../moduler/base.nix
|
||||||
../../config/users.nix
|
../../moduler/users.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../config/base.nix
|
../../moduler/base.nix
|
||||||
../../config/users.nix
|
../../moduler/users.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = myhostname;
|
networking.hostName = myhostname;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../config/users.nix
|
../../moduler/users.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../shared/openssh.nix
|
../../moduler/openssh.nix
|
||||||
../../config/users.nix
|
../../moduler/users.nix
|
||||||
../../config/dev.nix
|
../../moduler/dev.nix
|
||||||
../../config/lsp.nix
|
../../moduler/lsp.nix
|
||||||
../../config/network.nix
|
../../moduler/network.nix
|
||||||
../../config/system.nix
|
../../moduler/system.nix
|
||||||
../../config/k3s.nix
|
../../moduler/k3s.nix
|
||||||
];
|
];
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
overlays = [
|
overlays = [
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
# imlib2
|
# imlib2
|
||||||
# xorg.libXinerama
|
# xorg.libXinerama
|
||||||
# ];
|
# ];
|
||||||
patches = [ ../config/dmenu-center.diff ];
|
patches = [ ../moduler/dmenu-center.diff ];
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
|
@ -80,7 +80,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 15;
|
rounding = 0;
|
||||||
active_opacity = 0.9;
|
active_opacity = 0.9;
|
||||||
inactive_opacity = 0.8;
|
inactive_opacity = 0.8;
|
||||||
fullscreen_opacity = 0.9;
|
fullscreen_opacity = 0.9;
|
||||||
|
@ -102,7 +102,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
animations = {
|
animations = {
|
||||||
enabled = true;
|
enabled = false;
|
||||||
bezier = [
|
bezier = [
|
||||||
"linear, 0, 0, 1, 1"
|
"linear, 0, 0, 1, 1"
|
||||||
"md3_standard, 0.2, 0, 0, 1"
|
"md3_standard, 0.2, 0, 0, 1"
|
||||||
|
@ -201,7 +201,7 @@ in
|
||||||
|
|
||||||
# Applications
|
# Applications
|
||||||
"$mod, q, exec, ${pkgs.firefox}/bin/firefox"
|
"$mod, q, exec, ${pkgs.firefox}/bin/firefox"
|
||||||
"$mod, d, exec, ${pkgs.wmenu}/bin/wmenu-run"
|
"$mod, d, exec, ${pkgs.rofi}/bin/rofi"
|
||||||
|
|
||||||
|
|
||||||
# Screencapture
|
# Screencapture
|
|
@ -5,23 +5,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
gui = {
|
gui = {
|
||||||
# Mocha
|
|
||||||
# theme = {
|
|
||||||
# activeBorderColor = [ "#f5a97f" "bold" ];
|
|
||||||
# inactiveBorderColor = [ "#a5adcb" ];
|
|
||||||
# optionsTextColor = [ "#8aadf4" ];
|
|
||||||
# selectedLineBgColor = [ "#363a4f" ];
|
|
||||||
# cherryPickedCommitBgColor = [ "#494d64" ];
|
|
||||||
# cherryPickedCommitFgColor = [ "#f5a97f" ];
|
|
||||||
# unstagedChangesColor = [ "#ed8796" ];
|
|
||||||
# defaultFgColor = [ "#cad3f5" ];
|
|
||||||
# searchingActiveBorderColor = [ "#eed49f" ];
|
|
||||||
# };
|
|
||||||
#
|
|
||||||
# authorColors = {
|
|
||||||
# "*" = "#b7bdf8";
|
|
||||||
# };
|
|
||||||
# Latte
|
|
||||||
theme = {
|
theme = {
|
||||||
activeBorderColor = [ "#fe640b" "bold" ];
|
activeBorderColor = [ "#fe640b" "bold" ];
|
||||||
inactiveBorderColor = [ "#6c6f85" ];
|
inactiveBorderColor = [ "#6c6f85" ];
|
|
@ -12,12 +12,12 @@
|
||||||
tmuxPlugins.sensible
|
tmuxPlugins.sensible
|
||||||
tmuxPlugins.pain-control
|
tmuxPlugins.pain-control
|
||||||
tmuxPlugins.sessionist
|
tmuxPlugins.sessionist
|
||||||
# {
|
{
|
||||||
# plugin = pkgs.fw-pkgs.tmuxPlugins.minimal;
|
plugin = fw-pkgs.tmuxPlugins.minimal;
|
||||||
# extraConfig = ''
|
extraConfig = ''
|
||||||
# bind-key b set-option status
|
bind-key b set-option status
|
||||||
# '';
|
'';
|
||||||
# }
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
Loading…
Add table
Add a link
Reference in a new issue