Refactoring configuration
This commit is contained in:
parent
09e3cc520a
commit
a87c269dfc
9 changed files with 336 additions and 287 deletions
57
user/packages.nix
Normal file
57
user/packages.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
in {
|
||||
users.users.lyes.packages = with pkgs; [
|
||||
# Software
|
||||
firefox
|
||||
thunderbird
|
||||
discord
|
||||
mpv
|
||||
vlc
|
||||
syncplay
|
||||
gnome.gnome-tweaks
|
||||
gnome-extension-manager
|
||||
unstable.protonmail-bridge-gui
|
||||
|
||||
# Games
|
||||
citra-canary
|
||||
steam
|
||||
minecraft
|
||||
vvvvvv
|
||||
|
||||
# Utilities
|
||||
home-manager
|
||||
nix-index
|
||||
direnv
|
||||
starship
|
||||
dropbox
|
||||
yt-dlp
|
||||
wl-clipboard
|
||||
|
||||
# Customization
|
||||
adw-gtk3
|
||||
paper-icon-theme
|
||||
gnomeExtensions.gsconnect
|
||||
|
||||
# Programming
|
||||
git
|
||||
ocaml
|
||||
ledit
|
||||
nodejs
|
||||
|
||||
# Containers
|
||||
toolbox
|
||||
distrobox
|
||||
|
||||
# Note taking
|
||||
texlive.combined.scheme-medium
|
||||
pandoc
|
||||
|
||||
# Multimedia
|
||||
pipewire.dev
|
||||
pulseaudio
|
||||
libopus
|
||||
];
|
||||
}
|
||||
21
user/user.nix
Normal file
21
user/user.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./packages.nix
|
||||
];
|
||||
|
||||
users.users.lyes = {
|
||||
description = "Lyes Saadi";
|
||||
home = "/home/lyes";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.lyes = { pkgs, ... }: {
|
||||
home.stateVersion = "22.11";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue