nixfmt
This commit is contained in:
parent
053f90f64a
commit
796c11b823
27 changed files with 1130 additions and 796 deletions
|
@ -1,4 +1,10 @@
|
|||
{ config, pkgs, lib, mods, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
mods,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = with mods.global; [ sway ];
|
||||
|
||||
|
@ -6,9 +12,17 @@
|
|||
users.users.catvayor = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "usb" "networkmanager" "video" "audio" "libvirtd" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"usb"
|
||||
"networkmanager"
|
||||
"video"
|
||||
"audio"
|
||||
"libvirtd"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -24,7 +38,13 @@
|
|||
home-manager.users.catvayor = {
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
imports = with mods.home; [ neovim zsh sway ssh mail ];
|
||||
imports = with mods.home; [
|
||||
neovim
|
||||
zsh
|
||||
sway
|
||||
ssh
|
||||
mail
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
|
@ -39,9 +59,12 @@
|
|||
keepassxc
|
||||
];
|
||||
|
||||
programs.alacritty = { enable = true; settings = lib.importTOML ./cat-alacritty.toml; };
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = lib.importTOML ./cat-alacritty.toml;
|
||||
};
|
||||
programs.thunderbird.enable = true;
|
||||
programs.thunderbird.profiles = {};
|
||||
programs.thunderbird.profiles = { };
|
||||
services.mako = {
|
||||
enable = true;
|
||||
width = 400;
|
||||
|
@ -55,11 +78,23 @@
|
|||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = { package = pkgs.arc-theme; name = "Arc-Dark"; };
|
||||
iconTheme = { package = pkgs.arc-icon-theme; name = "Arc"; };
|
||||
cursorTheme = { package = pkgs.breeze-hacked-cursor-theme; name = "Breeze_Hacked"; };
|
||||
theme = {
|
||||
package = pkgs.arc-theme;
|
||||
name = "Arc-Dark";
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.arc-icon-theme;
|
||||
name = "Arc";
|
||||
};
|
||||
cursorTheme = {
|
||||
package = pkgs.breeze-hacked-cursor-theme;
|
||||
name = "Breeze_Hacked";
|
||||
};
|
||||
};
|
||||
home.pointerCursor = {
|
||||
package = pkgs.breeze-hacked-cursor-theme;
|
||||
name = "Breeze_Hacked";
|
||||
};
|
||||
home.pointerCursor = { package = pkgs.breeze-hacked-cursor-theme; name = "Breeze_Hacked"; };
|
||||
xdg.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,18 +1,28 @@
|
|||
{ ssh }:
|
||||
{ config, lib, pkgs, mods, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
mods,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.zsh.enable = true;
|
||||
users.users.root = {
|
||||
shell = pkgs.zsh;
|
||||
} // lib.attrsets.optionalAttrs ssh {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA16foz+XzwKwyIR4wFgNIAE3Y7AfXyEsUZFVVz8Rie catvayor@katvayor"
|
||||
];
|
||||
};
|
||||
users.users.root =
|
||||
{
|
||||
shell = pkgs.zsh;
|
||||
}
|
||||
// lib.attrsets.optionalAttrs ssh {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA16foz+XzwKwyIR4wFgNIAE3Y7AfXyEsUZFVVz8Rie catvayor@katvayor"
|
||||
];
|
||||
};
|
||||
home-manager.users.root = {
|
||||
home.stateVersion = "23.11";
|
||||
imports = with mods.home; [ neovim zsh ];
|
||||
imports = with mods.home; [
|
||||
neovim
|
||||
zsh
|
||||
];
|
||||
};
|
||||
} // lib.attrsets.optionalAttrs ssh {
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
// lib.attrsets.optionalAttrs ssh { services.openssh.enable = true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue