From 4eaf76cf1e0af9ec7a630320bb7d4956041dd03e Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 4 May 2023 18:17:38 +0200 Subject: Structure(treewide): Use new structure with home-manager home-manager enables great possibilities and is part of simplifying the structure of my config. --- common/environment/default.nix | 26 ---------- common/nix/default.nix | 13 ----- common/packages/default.nix | 100 --------------------------------------- common/users/default.nix | 22 --------- desktop/gnome/default.nix | 6 --- desktop/plasma/default.nix | 14 ------ desktop/xfce/default.nix | 9 ---- flake.nix | 17 +++++-- hosts/thinklappi/default.nix | 10 +--- services/flatpak/default.nix | 11 ----- services/zsh/default.nix | 44 ----------------- sys/default.nix | 11 +++++ sys/desktop/gnome/default.nix | 6 +++ sys/desktop/plasma/default.nix | 14 ++++++ sys/desktop/xfce/default.nix | 9 ++++ sys/environment/default.nix | 26 ++++++++++ sys/nix/default.nix | 13 +++++ sys/packages/default.nix | 100 +++++++++++++++++++++++++++++++++++++++ sys/services/flatpak/default.nix | 11 +++++ sys/services/zsh/default.nix | 44 +++++++++++++++++ sys/users/default.nix | 22 +++++++++ users/default.nix | 7 +++ users/sils/default.nix | 14 ++++++ users/sils/packages/default.nix | 6 +++ 24 files changed, 298 insertions(+), 257 deletions(-) delete mode 100644 common/environment/default.nix delete mode 100644 common/nix/default.nix delete mode 100644 common/packages/default.nix delete mode 100644 common/users/default.nix delete mode 100644 desktop/gnome/default.nix delete mode 100644 desktop/plasma/default.nix delete mode 100644 desktop/xfce/default.nix delete mode 100644 services/flatpak/default.nix delete mode 100644 services/zsh/default.nix create mode 100644 sys/default.nix create mode 100644 sys/desktop/gnome/default.nix create mode 100644 sys/desktop/plasma/default.nix create mode 100644 sys/desktop/xfce/default.nix create mode 100644 sys/environment/default.nix create mode 100644 sys/nix/default.nix create mode 100644 sys/packages/default.nix create mode 100644 sys/services/flatpak/default.nix create mode 100644 sys/services/zsh/default.nix create mode 100644 sys/users/default.nix create mode 100644 users/default.nix create mode 100644 users/sils/default.nix create mode 100644 users/sils/packages/default.nix diff --git a/common/environment/default.nix b/common/environment/default.nix deleted file mode 100644 index 8f58641..0000000 --- a/common/environment/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{...}: { - environment.sessionVariables = rec { - XDG_CACHE_HOME = "\${HOME}/.cache"; - XDG_CONFIG_HOME = "\${HOME}/.config"; - XDG_BIN_HOME = "\${HOME}/.local/bin"; - XDG_DATA_HOME = "\${HOME}/.local/share"; - XDG_STATE_HOME = "\${HOME}/.local/state"; - ZDOTDIR = "\${HOME}/.config/zsh"; - CARGO_HOME = "\${HOME}/.local/share/cargo"; - ANDROID_HOME = "\${HOME}/.local/share/android"; - ANSIBLE_HOME = "\${HOME}/.local/share/ansible"; - #_JAVA_OPTIONS = '-Djava.util.prefs.userRoot="\${XDG_CONFIG_HOME}/java"'; - WINEPREFIX = "\${HOME}/.local/share/wine"; - GNUPGHOME = "\${HOME}/.local/share/gnupg"; - GRADLE_USER_HOME = "\${HOME}/.local/share/gradle"; - GTK2_RC_FILES = "\${HOME}/.config/gtk-2.0/gtkrc"; - EDITOR = "nvim"; - GOPATH = "\${HOME}/.local/share/go"; - XCOMPOSECACHE = "\${HOME}/.cache/X11/xcompose"; - #PYTHONSTARTUP="/etc/python/pythonrc"; - - PATH = [ - "\${XDG_BIN_HOME}" - ]; - }; -} diff --git a/common/nix/default.nix b/common/nix/default.nix deleted file mode 100644 index 30f5b38..0000000 --- a/common/nix/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{...}: { - nix = { - gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 3"; - }; - settings = { - auto-optimise-store = true; - experimental-features = ["nix-command" "flakes"]; - }; - }; -} diff --git a/common/packages/default.nix b/common/packages/default.nix deleted file mode 100644 index db97b9b..0000000 --- a/common/packages/default.nix +++ /dev/null @@ -1,100 +0,0 @@ -{ - pkgs, - lib, - ... -}: { - environment.systemPackages = with pkgs; [ - # Core utils - killall # kill programs by name - wget # download stuff - curl # download stuff – reloaded - fd # faster find - neofetch # a must-have - zsh # the one and only shell - - # archives - unzip - zip - _7zz - - neovim # edit nix files ;) - inkscape # vector graphics - - restic # backups - thunderbird # emails - firefox # my browser - librewolf # privacy friendly firefox - ungoogled-chromium # the only chromium-based browser I'd ever use. - google-chrome # breaking promises - element-desktop # chat - libreoffice # convert doc to pdf xD - pdfarranger # gui for pdf arranging - - keepassxc # passwords - bitwarden # cloud passwords - - gnome.gnome-keyring # to tired to migrate to kwallet - gnome.simple-scan # scanning, obiously - lsd # ls in good - jq # xdg-ninja requieres that - glow # markdown rendering - xdg-ninja # home cleaning - git # versioning - signal-desktop # the ecosystem is moving :( - signal-cli # use signal without phone - mumble # voice chat - - #Nix Stuff - alejandra # nix code formatter - nil # nix language-server - statix # nix linter - - # SSH Stuff - openssh # ssh - mosh # ssh in great - - jdk17 # openjdk17 to satisfy mr.antoine - rustc # rust, obiously - cargo # cargo, the best compiler ever" - lf # a file manager - - gnupg # encryprtion and so on - pinentry # needed for gpg - - tor-browser-bundle-bin # tor-browser - tdesktop # another messenger (telegram) - libsForQt5.kdeconnect-kde # communicate with my phone - imagemagick # convertion and so on - #nerdfonts # nice fonts, u know - alacritty # terminal - konsole # terminal - - zsh-you-should-use # reminder for aliasses - jetbrains.idea-community # Java-IDE - python39 # python programming language - sayonara # audioplayer - vlc # audio, again - nmap # network scanning - tree # tree view of directories - youtube-dl # download videos - mpv # play videos - texlive.combined.scheme-full # LaTeX - gparted # partitioning :( - musescore # notesetting program - geogebra # math program - # Compiler - gcc - execline - - ltex-ls # lsp language server for languagetool - texlab # latex language server - html-tidy # html formatter - - bottles # run windows software - ]; - nixpkgs.config.allowUnfreePredicate = pkg: - builtins.elem (lib.getName pkg) [ - "geogebra" - "google-chrome" - ]; -} diff --git a/common/users/default.nix b/common/users/default.nix deleted file mode 100644 index 7f1e7d2..0000000 --- a/common/users/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{pkgs, ...}: { - users = { - mutableUsers = false; - users.sils = { - isNormalUser = true; - home = "/home/sils"; - shell = pkgs.zsh; - initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/"; - extraGroups = ["wheel" "networkmanager"]; - }; - users.cnnr = { - isNormalUser = true; - home = "/home/cnnr"; - shell = pkgs.zsh; - initialHashedPassword = "$y$j9T$NFz0d2coUOvl.hL3YRwEY0$8btvXUoWGWwo11ksdt8eIFUljCkpUe0YliEy7l0odU1"; - }; - }; - services.xserver.displayManager.autoLogin = { - enable = true; - user = "sils"; - }; -} diff --git a/desktop/gnome/default.nix b/desktop/gnome/default.nix deleted file mode 100644 index dbeb0f6..0000000 --- a/desktop/gnome/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{...}: { - services.xserver.enable = true; - - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; -} diff --git a/desktop/plasma/default.nix b/desktop/plasma/default.nix deleted file mode 100644 index 4198029..0000000 --- a/desktop/plasma/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{pkgs, ...}: { - services.xserver = { - enable = true; - displayManager.sddm.enable = true; - desktopManager.plasma5 = { - enable = true; - excludePackages = with pkgs.libsForQt5; [ - kwallet - kwallet-pam - kwalletmanager - ]; - }; - }; -} diff --git a/desktop/xfce/default.nix b/desktop/xfce/default.nix deleted file mode 100644 index b0de71a..0000000 --- a/desktop/xfce/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{...}: { - services = { - blueman.enable = true; - xserver = { - enable = true; - desktopManager.xfce.enable = true; - }; - }; -} diff --git a/flake.nix b/flake.nix index 3b08173..7e892be 100644 --- a/flake.nix +++ b/flake.nix @@ -12,11 +12,22 @@ nixpkgs, home-manager, ... - } @ attrs: { + } @ attrs: let + system = "86_64-linux"; + in { nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; + inherit system; specialArgs = attrs; - modules = [./hosts/thinklappi]; + modules = [ + ./hosts/thinklappi + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.sils = import ./users/sils; + home-manager.extraSpecialArgs = {inherit nixpkgs system;}; + } + ]; }; }; } diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix index 8a2fe78..ba379a8 100644 --- a/hosts/thinklappi/default.nix +++ b/hosts/thinklappi/default.nix @@ -9,15 +9,7 @@ in { imports = [ ./basesystem.nix - ../../common/environment - ../../common/nix - ../../common/packages - ../../common/users - ../../services/zsh - ../../services/flatpak # Mainly for minecraft - - # Desktop Environment to use - ../../desktop/gnome + ../../sys ]; services = { diff --git a/services/flatpak/default.nix b/services/flatpak/default.nix deleted file mode 100644 index d1f4586..0000000 --- a/services/flatpak/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{...}: { - services.flatpak.enable = true; - fileSystems."/var/lib/flatpak" = { - device = "/srv/flatpak"; - options = ["bind"]; - }; - # xdg.portal = { - # enable = true; - # extraPortals = [pkgs.xdg-desktop-portal-gtk]; - # }; -} diff --git a/services/zsh/default.nix b/services/zsh/default.nix deleted file mode 100644 index b8349f9..0000000 --- a/services/zsh/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{pkgs, ...}: { - programs.zsh = { - enable = true; - syntaxHighlighting.enable = true; - autosuggestions.enable = true; - interactiveShellInit = '' - export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh/ - export fpath=("$XDG_DATA_HOME/zsh/site-functions" $fpath) - HISTFILE="$XDG_STATE_HOME/zsh/history" - - plugins=(git) - - alias vim="nvim" - alias ls='lsd' - alias l='ls -l' - alias la='ls -a' - alias lla='ls -la' - alias lt='ls --tree' - alias rebackup='restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd backup' - alias repreconf='restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd' - alias b-del="sudo btrfs subv delet /srv/snapshots/home" - alias b-shot="sudo btrfs subvolume snapshot -r /home /srv/snapshots/home" - alias b-home='[ -d /srv/snapshots/home ] && sudo btrfs subvolume delete /srv/snapshots/home; sudo btrfs subvolume snapshot -r /home /srv/snapshots/home; sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache backup /srv/snapshots/home;' - alias r-clean="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache forget \ - --keep-weekly 7 \ - --keep-daily 7 \ - --keep-monthly 6 \ - --keep-yearly 10 \ - --keep-hourly 5 \ - --keep-tag prs" - alias r-prune="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache prune" - alias r-check="sudo restic -r /mnt/storage/backups --cache-dir /srv/.restic-cache --password-file ~/srv/.restic_pswd check" - alias zconf="vim ~/.config/zsh/.zshrc" - alias zenv="vim ~/.config/zsh/.zshenv" - alias o="xdg-open" - alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts" - - - source $ZSH/oh-my-zsh.sh - ''; - - promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; - }; -} diff --git a/sys/default.nix b/sys/default.nix new file mode 100644 index 0000000..5f4babf --- /dev/null +++ b/sys/default.nix @@ -0,0 +1,11 @@ +{...}: { + imports = [ + ./desktop/gnome + ./environment + ./nix + ./packages + ./services/flatpak + ./services/zsh + ./users + ]; +} diff --git a/sys/desktop/gnome/default.nix b/sys/desktop/gnome/default.nix new file mode 100644 index 0000000..dbeb0f6 --- /dev/null +++ b/sys/desktop/gnome/default.nix @@ -0,0 +1,6 @@ +{...}: { + services.xserver.enable = true; + + services.xserver.displayManager.gdm.enable = true; + services.xserver.desktopManager.gnome.enable = true; +} diff --git a/sys/desktop/plasma/default.nix b/sys/desktop/plasma/default.nix new file mode 100644 index 0000000..4198029 --- /dev/null +++ b/sys/desktop/plasma/default.nix @@ -0,0 +1,14 @@ +{pkgs, ...}: { + services.xserver = { + enable = true; + displayManager.sddm.enable = true; + desktopManager.plasma5 = { + enable = true; + excludePackages = with pkgs.libsForQt5; [ + kwallet + kwallet-pam + kwalletmanager + ]; + }; + }; +} diff --git a/sys/desktop/xfce/default.nix b/sys/desktop/xfce/default.nix new file mode 100644 index 0000000..b0de71a --- /dev/null +++ b/sys/desktop/xfce/default.nix @@ -0,0 +1,9 @@ +{...}: { + services = { + blueman.enable = true; + xserver = { + enable = true; + desktopManager.xfce.enable = true; + }; + }; +} diff --git a/sys/environment/default.nix b/sys/environment/default.nix new file mode 100644 index 0000000..8f58641 --- /dev/null +++ b/sys/environment/default.nix @@ -0,0 +1,26 @@ +{...}: { + environment.sessionVariables = rec { + XDG_CACHE_HOME = "\${HOME}/.cache"; + XDG_CONFIG_HOME = "\${HOME}/.config"; + XDG_BIN_HOME = "\${HOME}/.local/bin"; + XDG_DATA_HOME = "\${HOME}/.local/share"; + XDG_STATE_HOME = "\${HOME}/.local/state"; + ZDOTDIR = "\${HOME}/.config/zsh"; + CARGO_HOME = "\${HOME}/.local/share/cargo"; + ANDROID_HOME = "\${HOME}/.local/share/android"; + ANSIBLE_HOME = "\${HOME}/.local/share/ansible"; + #_JAVA_OPTIONS = '-Djava.util.prefs.userRoot="\${XDG_CONFIG_HOME}/java"'; + WINEPREFIX = "\${HOME}/.local/share/wine"; + GNUPGHOME = "\${HOME}/.local/share/gnupg"; + GRADLE_USER_HOME = "\${HOME}/.local/share/gradle"; + GTK2_RC_FILES = "\${HOME}/.config/gtk-2.0/gtkrc"; + EDITOR = "nvim"; + GOPATH = "\${HOME}/.local/share/go"; + XCOMPOSECACHE = "\${HOME}/.cache/X11/xcompose"; + #PYTHONSTARTUP="/etc/python/pythonrc"; + + PATH = [ + "\${XDG_BIN_HOME}" + ]; + }; +} diff --git a/sys/nix/default.nix b/sys/nix/default.nix new file mode 100644 index 0000000..30f5b38 --- /dev/null +++ b/sys/nix/default.nix @@ -0,0 +1,13 @@ +{...}: { + nix = { + gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 3"; + }; + settings = { + auto-optimise-store = true; + experimental-features = ["nix-command" "flakes"]; + }; + }; +} diff --git a/sys/packages/default.nix b/sys/packages/default.nix new file mode 100644 index 0000000..db97b9b --- /dev/null +++ b/sys/packages/default.nix @@ -0,0 +1,100 @@ +{ + pkgs, + lib, + ... +}: { + environment.systemPackages = with pkgs; [ + # Core utils + killall # kill programs by name + wget # download stuff + curl # download stuff – reloaded + fd # faster find + neofetch # a must-have + zsh # the one and only shell + + # archives + unzip + zip + _7zz + + neovim # edit nix files ;) + inkscape # vector graphics + + restic # backups + thunderbird # emails + firefox # my browser + librewolf # privacy friendly firefox + ungoogled-chromium # the only chromium-based browser I'd ever use. + google-chrome # breaking promises + element-desktop # chat + libreoffice # convert doc to pdf xD + pdfarranger # gui for pdf arranging + + keepassxc # passwords + bitwarden # cloud passwords + + gnome.gnome-keyring # to tired to migrate to kwallet + gnome.simple-scan # scanning, obiously + lsd # ls in good + jq # xdg-ninja requieres that + glow # markdown rendering + xdg-ninja # home cleaning + git # versioning + signal-desktop # the ecosystem is moving :( + signal-cli # use signal without phone + mumble # voice chat + + #Nix Stuff + alejandra # nix code formatter + nil # nix language-server + statix # nix linter + + # SSH Stuff + openssh # ssh + mosh # ssh in great + + jdk17 # openjdk17 to satisfy mr.antoine + rustc # rust, obiously + cargo # cargo, the best compiler ever" + lf # a file manager + + gnupg # encryprtion and so on + pinentry # needed for gpg + + tor-browser-bundle-bin # tor-browser + tdesktop # another messenger (telegram) + libsForQt5.kdeconnect-kde # communicate with my phone + imagemagick # convertion and so on + #nerdfonts # nice fonts, u know + alacritty # terminal + konsole # terminal + + zsh-you-should-use # reminder for aliasses + jetbrains.idea-community # Java-IDE + python39 # python programming language + sayonara # audioplayer + vlc # audio, again + nmap # network scanning + tree # tree view of directories + youtube-dl # download videos + mpv # play videos + texlive.combined.scheme-full # LaTeX + gparted # partitioning :( + musescore # notesetting program + geogebra # math program + # Compiler + gcc + execline + + ltex-ls # lsp language server for languagetool + texlab # latex language server + html-tidy # html formatter + + bottles # run windows software + ]; + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "geogebra" + "google-chrome" + ]; +} diff --git a/sys/services/flatpak/default.nix b/sys/services/flatpak/default.nix new file mode 100644 index 0000000..d1f4586 --- /dev/null +++ b/sys/services/flatpak/default.nix @@ -0,0 +1,11 @@ +{...}: { + services.flatpak.enable = true; + fileSystems."/var/lib/flatpak" = { + device = "/srv/flatpak"; + options = ["bind"]; + }; + # xdg.portal = { + # enable = true; + # extraPortals = [pkgs.xdg-desktop-portal-gtk]; + # }; +} diff --git a/sys/services/zsh/default.nix b/sys/services/zsh/default.nix new file mode 100644 index 0000000..b8349f9 --- /dev/null +++ b/sys/services/zsh/default.nix @@ -0,0 +1,44 @@ +{pkgs, ...}: { + programs.zsh = { + enable = true; + syntaxHighlighting.enable = true; + autosuggestions.enable = true; + interactiveShellInit = '' + export ZSH=${pkgs.oh-my-zsh}/share/oh-my-zsh/ + export fpath=("$XDG_DATA_HOME/zsh/site-functions" $fpath) + HISTFILE="$XDG_STATE_HOME/zsh/history" + + plugins=(git) + + alias vim="nvim" + alias ls='lsd' + alias l='ls -l' + alias la='ls -a' + alias lla='ls -la' + alias lt='ls --tree' + alias rebackup='restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd backup' + alias repreconf='restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd' + alias b-del="sudo btrfs subv delet /srv/snapshots/home" + alias b-shot="sudo btrfs subvolume snapshot -r /home /srv/snapshots/home" + alias b-home='[ -d /srv/snapshots/home ] && sudo btrfs subvolume delete /srv/snapshots/home; sudo btrfs subvolume snapshot -r /home /srv/snapshots/home; sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache backup /srv/snapshots/home;' + alias r-clean="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache forget \ + --keep-weekly 7 \ + --keep-daily 7 \ + --keep-monthly 6 \ + --keep-yearly 10 \ + --keep-hourly 5 \ + --keep-tag prs" + alias r-prune="sudo restic -r /mnt/storage/backups --password-file ~/srv/restic_pswd --cache-dir /srv/.restic-cache prune" + alias r-check="sudo restic -r /mnt/storage/backups --cache-dir /srv/.restic-cache --password-file ~/srv/.restic_pswd check" + alias zconf="vim ~/.config/zsh/.zshrc" + alias zenv="vim ~/.config/zsh/.zshenv" + alias o="xdg-open" + alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts" + + + source $ZSH/oh-my-zsh.sh + ''; + + promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; + }; +} diff --git a/sys/users/default.nix b/sys/users/default.nix new file mode 100644 index 0000000..7f1e7d2 --- /dev/null +++ b/sys/users/default.nix @@ -0,0 +1,22 @@ +{pkgs, ...}: { + users = { + mutableUsers = false; + users.sils = { + isNormalUser = true; + home = "/home/sils"; + shell = pkgs.zsh; + initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/"; + extraGroups = ["wheel" "networkmanager"]; + }; + users.cnnr = { + isNormalUser = true; + home = "/home/cnnr"; + shell = pkgs.zsh; + initialHashedPassword = "$y$j9T$NFz0d2coUOvl.hL3YRwEY0$8btvXUoWGWwo11ksdt8eIFUljCkpUe0YliEy7l0odU1"; + }; + }; + services.xserver.displayManager.autoLogin = { + enable = true; + user = "sils"; + }; +} diff --git a/users/default.nix b/users/default.nix new file mode 100644 index 0000000..23d6e96 --- /dev/null +++ b/users/default.nix @@ -0,0 +1,7 @@ +{ + nixpkgs, + system, + ... +}: { + sils = import ./sils {inherit nixpkgs system;}; +} diff --git a/users/sils/default.nix b/users/sils/default.nix new file mode 100644 index 0000000..5240fa9 --- /dev/null +++ b/users/sils/default.nix @@ -0,0 +1,14 @@ +{ + pkgs, + system, + ... +}: { + imports = [./packages]; + + home = { + username = "sils"; + homeDirectory = "/home/sils"; + stateVersion = "23.05"; + }; + programs.home-manager.enable = true; +} diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix new file mode 100644 index 0000000..103e978 --- /dev/null +++ b/users/sils/packages/default.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + home.packages = [ + pkgs.styx + pkgs.cmatrix + ]; +} -- cgit 1.4.1