Run nix fmt
Format using `nixfmt-rfc-style`.
This commit is contained in:
parent
14a1f177a0
commit
7f2df5f726
24 changed files with 317 additions and 162 deletions
|
@ -1,34 +1,60 @@
|
|||
{ config, desktop, inputs, pkgs, self, username, ... }:
|
||||
{
|
||||
config,
|
||||
desktop,
|
||||
inputs,
|
||||
pkgs,
|
||||
self,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
let
|
||||
desktop-config =
|
||||
import ./desktop.nix { inherit config inputs pkgs username; };
|
||||
desktop-config = import ./desktop.nix {
|
||||
inherit
|
||||
config
|
||||
inputs
|
||||
pkgs
|
||||
username
|
||||
;
|
||||
};
|
||||
shared-config = import "${self}/lib/shared/home-manager.nix" {
|
||||
inherit inputs pkgs self username;
|
||||
inherit
|
||||
inputs
|
||||
pkgs
|
||||
self
|
||||
username
|
||||
;
|
||||
};
|
||||
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {
|
||||
inherit inputs pkgs;
|
||||
};
|
||||
in {
|
||||
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" { inherit inputs pkgs; };
|
||||
in
|
||||
{
|
||||
imports =
|
||||
if desktop then [ desktop-config shared-config ] else [ shared-config ];
|
||||
if desktop then
|
||||
[
|
||||
desktop-config
|
||||
shared-config
|
||||
]
|
||||
else
|
||||
[ shared-config ];
|
||||
|
||||
home.packages = shared-packages ++ pkgs.lib.optionals desktop [
|
||||
pkgs.discord
|
||||
pkgs.gimp
|
||||
pkgs.gscan2pdf
|
||||
pkgs.kdenlive
|
||||
pkgs.meslo-lg
|
||||
pkgs.obs-studio
|
||||
pkgs.okular
|
||||
pkgs.pamixer
|
||||
pkgs.pass
|
||||
pkgs.pavucontrol
|
||||
pkgs.pinentry
|
||||
pkgs.via
|
||||
pkgs.xsel
|
||||
pkgs.xcape
|
||||
pkgs.zoom-us
|
||||
];
|
||||
home.packages =
|
||||
shared-packages
|
||||
++ pkgs.lib.optionals desktop [
|
||||
pkgs.discord
|
||||
pkgs.gimp
|
||||
pkgs.gscan2pdf
|
||||
pkgs.kdenlive
|
||||
pkgs.meslo-lg
|
||||
pkgs.obs-studio
|
||||
pkgs.okular
|
||||
pkgs.pamixer
|
||||
pkgs.pass
|
||||
pkgs.pavucontrol
|
||||
pkgs.pinentry
|
||||
pkgs.via
|
||||
pkgs.xsel
|
||||
pkgs.xcape
|
||||
pkgs.zoom-us
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue