some more organizing

This commit is contained in:
Ivan Dimitrov 2023-08-10 00:40:02 +03:00
parent acbad778a4
commit d256846a57
3 changed files with 65 additions and 39 deletions

View File

@ -1,39 +1,41 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
# wayland/sway stuff
bemenu bemenu
wl-clipboard
wayland
mako
grim
slurp
# programs
brave brave
firefox-devedition-bin
tor-browser-bundle-bin
gnome.cheese
gimp
# cli utils
direnv direnv
ripgrep
mupdf
gopass gopass
gopass-jsonapi gopass-jsonapi
pavucontrol pavucontrol
# programming
nixfmt nixfmt
sqlite sqlite
ripgrep
xdg-user-dirs
wl-clipboard
wayland
tectonic tectonic
slurp
pinentry-qt
mupdf
mako
grim
gnome.cheese
gimp
firefox-devedition-bin
ffmpeg ffmpeg
nodePackages_latest.pnpm nodePackages_latest.pnpm
rustup rustup
poetry
lolcat lolcat
deno deno
nodejs_20 nodejs_20
python311 python311
python311Packages.pip python311Packages.pip
# misc
piper piper
poetry
thunderbird
tor-browser-bundle-bin
ungoogled-chromium
xdg-utils xdg-utils
xdg-user-dirs
]; ];
} }

View File

@ -1,3 +1,27 @@
{ ... }: { { pkgs, ... }: {
imports = [ ./neovim ./doom-emacs ./git.nix ./tmux.nix ./kitty.nix ./swaylock.nix ./zsh.nix ./obs.nix ]; imports = [
./neovim
./doom-emacs
./git.nix
./tmux.nix
./kitty.nix
./swaylock.nix
./zsh.nix
./obs.nix
];
programs = {
thunderbird = {
enable = true;
profiles = {
ivan = {
isDefault = true;
};
};
};
chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
};
};
} }

View File

@ -1,7 +1,4 @@
{ config { config, pkgs, ... }: {
, pkgs
, ...
}: {
system.stateVersion = "23.05"; system.stateVersion = "23.05";
nix = { nix = {
@ -33,11 +30,7 @@
security = { security = {
polkit.enable = true; polkit.enable = true;
rtkit.enable = true; rtkit.enable = true;
pam = { pam = { services = { swaylock = { }; }; };
services = {
swaylock = { };
};
};
}; };
xdg = { xdg = {
@ -70,6 +63,7 @@
vim vim
wget wget
zip zip
pinentry-qt
]; ];
variables = { variables = {
EDITOR = "nvim"; EDITOR = "nvim";
@ -83,14 +77,12 @@
}; };
}; };
networking.extraHosts = builtins.readFile (pkgs.fetchFromGitHub networking.extraHosts = builtins.readFile (pkgs.fetchFromGitHub {
{ owner = "StevenBlack";
owner = "StevenBlack"; repo = "hosts";
repo = "hosts"; rev = "5bf0802369cd74796bc5c4194c46ddc019541877";
rev = "5bf0802369cd74796bc5c4194c46ddc019541877"; sha256 = "sha256-4CXI2vu/zBQeSzLKelaey/5WEjfroRs7LP9BvZ4CsTQ=";
sha256 = "sha256-4CXI2vu/zBQeSzLKelaey/5WEjfroRs7LP9BvZ4CsTQ="; } + "/hosts");
}
+ "/hosts");
programs = { programs = {
gnupg.agent = { gnupg.agent = {
@ -105,11 +97,19 @@
defaultUserShell = pkgs.zsh; defaultUserShell = pkgs.zsh;
users.ivand = { users.ivand = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "adm" "audio" "video" "kvm" "render" "flatpak" "bluetooth" "mlocate" ]; extraGroups = [
}; "wheel"
extraGroups = { "adm"
mlocate = { }; "audio"
"video"
"kvm"
"render"
"flatpak"
"bluetooth"
"mlocate"
];
}; };
extraGroups = { mlocate = { }; };
}; };
services = { services = {