This commit is contained in:
Aaron Bieber 2022-12-28 14:42:00 -07:00
parent 15f66bd3af
commit 08a7dddea6
No known key found for this signature in database
4 changed files with 22 additions and 14 deletions

View File

@ -42,13 +42,7 @@ let
else
baseVimPackages ++ [ vimPlugins.vim-go ];
in {
environment.systemPackages = with pkgs; [
go
gopls
gotools
ripgrep
fzf
];
environment.systemPackages = with pkgs; [ go gopls gotools ripgrep fzf ];
programs.neovim = {
enable = true;
defaultEditor = true;

View File

@ -8,7 +8,7 @@
oldStable.url = "github:NixOS/nixpkgs/nixos-22.05-small";
stable.url = "github:NixOS/nixpkgs/nixos-22.11-small";
sops-nix = {
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs-stable.follows = "stable";
inputs.nixpkgs.follows = "unstable";
@ -80,10 +80,9 @@
};
};
outputs = { self, unstable, unstableSmall, stable, oldStable
, nixos-hardware, reform, sshKnownHosts, microca, gostart, xintray, tsvnstat
, taskobs, mcchunkie, gqrss, darwin, xin-secrets, talon, peerix, ...
}@inputs:
outputs = { self, unstable, unstableSmall, stable, oldStable, nixos-hardware
, reform, sshKnownHosts, microca, gostart, xintray, tsvnstat, taskobs
, mcchunkie, gqrss, darwin, xin-secrets, talon, peerix, ... }@inputs:
let
supportedSystems =
[ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];

View File

@ -1,8 +1,22 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib; {
options = { xfce = { enable = mkEnableOption "Enable XFCE desktop."; }; };
config = mkIf config.xfce.enable {
security.pam.services = {
gdm.enableKwallet = true;
kdm.enableKwallet = true;
lightdm.enableKwallet = true;
sddm.enableKwallet = true;
slim.enableKwallet = true;
};
environment.systemPackages = with pkgs.libsForQt5; [
kwallet
kwallet-pam
kwalletmanager
];
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.xfce = { enable = true; };
};

View File

@ -105,7 +105,8 @@ in {
'';
shellAliases = {
"gh" = "op plugin run -- gh";
"godeps" = "go list -m -f '{{if not (or .Indirect .Main)}}{{.Path}}{{end}}' all";
"godeps" =
"go list -m -f '{{if not (or .Indirect .Main)}}{{.Path}}{{end}}' all";
"mutt" = "neomutt -F /etc/neomuttrc";
"neomutt" = "neomutt -F /etc/neomuttrc";
};