mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-23 03:02:42 +00:00
nix: home-manager darwin + formats
This commit is contained in:
parent
7d8e0b1211
commit
c0572e749d
12 changed files with 45 additions and 31 deletions
|
|
@ -1,19 +1,18 @@
|
|||
# ~/.config/nixcfgs/users/js0ny/default.nix
|
||||
{
|
||||
pkgs,
|
||||
nix-flatpak,
|
||||
plasma-manager,
|
||||
...
|
||||
}:
|
||||
{
|
||||
{pkgs, ...}: let
|
||||
username = "js0ny";
|
||||
in {
|
||||
imports = [
|
||||
../../modules/home/programs/fzf.nix
|
||||
../../modules/home/programs/lsd.nix
|
||||
../../modules/home/programs/zoxide.nix
|
||||
];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home.username = "js0ny";
|
||||
home.homeDirectory = "/home/js0ny";
|
||||
home.username = username;
|
||||
home.homeDirectory =
|
||||
if pkgs.stdenv.isDarwin
|
||||
then "/Users/${username}"
|
||||
else "/home/${username}";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
home-manager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue