flake-parts #1
3 changed files with 74 additions and 0 deletions
add user and packages modules
commit
191cb91501
8
modules/default.nix
Normal file
8
modules/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ self, inputs, ... }: {
|
||||||
|
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
modules = with self.nixosModules; [
|
||||||
|
user
|
||||||
|
packages
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
53
modules/system/packages.nix
Normal file
53
modules/system/packages.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModules.packages = { pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
stow
|
||||||
|
ufetch
|
||||||
|
rbw
|
||||||
|
emacs-pgtk
|
||||||
|
tinty
|
||||||
|
pinentry-gnome3
|
||||||
|
git
|
||||||
|
nixd
|
||||||
|
nixfmt
|
||||||
|
xournalpp
|
||||||
|
rnote
|
||||||
|
btop
|
||||||
|
chromium
|
||||||
|
fuzzel
|
||||||
|
quickshell
|
||||||
|
wl-clipboard
|
||||||
|
adw-gtk3
|
||||||
|
papirus-icon-theme
|
||||||
|
apple-cursor
|
||||||
|
polkit_gnome
|
||||||
|
xwayland-satellite
|
||||||
|
nemo
|
||||||
|
libwacom
|
||||||
|
devenv
|
||||||
|
kdePackages.qt6ct
|
||||||
|
gcc
|
||||||
|
clang-tools
|
||||||
|
clang
|
||||||
|
gdb
|
||||||
|
gnumake
|
||||||
|
libreoffice-stable
|
||||||
|
ripgrep
|
||||||
|
jq
|
||||||
|
nmgui
|
||||||
|
kdePackages.qtdeclarative
|
||||||
|
ghostty
|
||||||
|
rnote
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
glib
|
||||||
|
];
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
jetbrains-mono
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-color-emoji
|
||||||
|
inter
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
13
modules/system/user.nix
Normal file
13
modules/system/user.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ ... }: {
|
||||||
|
flake.nixosModule.user = { pkgs, ... }: {
|
||||||
|
users.users."lucy" = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "lucy";
|
||||||
|
shell = pkgs.zsh;
|
||||||
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue