individualizing hyprland

This commit is contained in:
cnst
2024-07-30 19:02:20 +02:00
parent 3f99d55541
commit a360deaf5f
23 changed files with 725 additions and 188 deletions

View File

@@ -1,15 +1,14 @@
{ inputs
, outputs
, lib
, config
, pkgs
, system
, ...
}:
let
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in
{
inputs,
outputs,
lib,
config,
pkgs,
system,
...
}: let
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in {
users.users.cnst = {
isNormalUser = true;
shell = pkgs.zsh;
@@ -48,7 +47,7 @@ in
nix = {
# pin the registry to avoid downloading and evaling a new nixpkgs version every time
registry = lib.mapAttrs (_: v: { flake = v; }) inputs;
registry = lib.mapAttrs (_: v: {flake = v;}) inputs;
# set the path for channels compat
nixPath = lib.mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
@@ -57,34 +56,30 @@ in
auto-optimise-store = true;
builders-use-substitutes = true;
warn-dirty = false;
experimental-features = [ "nix-command" "flakes" ];
experimental-features = ["nix-command" "flakes"];
flake-registry = "/etc/nix/registry.json";
# for direnv GC roots
keep-derivations = true;
keep-outputs = true;
trusted-users = [ "root" "@wheel" ];
trusted-users = ["root" "@wheel"];
};
};
# Bootloader
boot.loader = {
systemd-boot.enable = lib.mkForce false;
efi.canTouchEfiVariables = true;
};
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
# Bootloader
boot.loader = {
systemd-boot.enable = lib.mkForce false;
efi.canTouchEfiVariables = true;
};
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
environment.sessionVariables = {
FLAKE = "/home/cnst/.nix-config";
};
users.users.cnst.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGe3s7WbaM0aZTYHCE1ugiG/SxFXLSbWcLAWceFotpuh toothpick@nixos"
];
environment.sessionVariables = {
FLAKE = "/home/cnst/.nix-config";
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = lib.mkDefault "23.11";
}
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = lib.mkDefault "23.11";
}

View File

@@ -48,75 +48,75 @@
# Util
anyrun
curl
fzf
gnome-disk-utility
lazygit
ntfs3g
p7zip
ripgrep
# curl
# fzf
# gnome-disk-utility
# lazygit
# ntfs3g
# p7zip
# ripgrep
stow
tmux
tmuxifier
tree-sitter
udiskie
unrar
unzip
wget
xdg-user-dirs
xdg-utils
zed-editor
# tmux
# tmuxifier
# tree-sitter
# udiskie
# unrar
# unzip
# wget
# xdg-user-dirs
# xdg-utils
# zed-editor
# Dev
binutils
clang
clang-tools
cargo-edit
cargo-insta
cargo-nextest
gcc
gnumake
cmake
python3
python312Packages.httplib2
python312Packages.oauth2
gtk3
gtk4
# binutils
# clang
# clang-tools
# cargo-edit
# cargo-insta
# cargo-nextest
# gcc
# gnumake
# cmake
# python3
# python312Packages.httplib2
# python312Packages.oauth2
# gtk3
# gtk4
# misc.language_servers
typescript-language-server
typescript
nixd
nil
statix
hyprlang
alejandra
nixpkgs-fmt
pyright
isort
rustfmt
rust-analyzer
clippy
lua-language-server
stylua
nodePackages_latest.nodejs
nodePackages.prettier
prettierd
black
vimPlugins.nvim-treesitter-parsers.typescript
# typescript-language-server
# typescript
# nixd
# nil
# statix
# hyprlang
# alejandra
# nixpkgs-fmt
# pyright
# isort
# rustfmt
# rust-analyzer
# clippy
# lua-language-server
# stylua
# nodePackages_latest.nodejs
# nodePackages.prettier
# prettierd
# black
# vimPlugins.nvim-treesitter-parsers.typescript
# ags_dependencies
bash
coreutils
dart-sass
gawk
imagemagick
procps
util-linux
gnome.gnome-control-center
mission-center
overskride
wlogout
# bash
# coreutils
# dart-sass
# gawk
# imagemagick
# procps
# util-linux
# gnome.gnome-control-center
# mission-center
# overskride
# wlogout
];
};
}