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 else
baseVimPackages ++ [ vimPlugins.vim-go ]; baseVimPackages ++ [ vimPlugins.vim-go ];
in { in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [ go gopls gotools ripgrep fzf ];
go
gopls
gotools
ripgrep
fzf
];
programs.neovim = { programs.neovim = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;

View File

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

View File

@ -1,8 +1,22 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
with lib; { with lib; {
options = { xfce = { enable = mkEnableOption "Enable XFCE desktop."; }; }; options = { xfce = { enable = mkEnableOption "Enable XFCE desktop."; }; };
config = mkIf config.xfce.enable { 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.displayManager.sddm.enable = true;
services.xserver.desktopManager.xfce = { enable = true; }; services.xserver.desktopManager.xfce = { enable = true; };
}; };

View File

@ -105,7 +105,8 @@ in {
''; '';
shellAliases = { shellAliases = {
"gh" = "op plugin run -- gh"; "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"; "mutt" = "neomutt -F /etc/neomuttrc";
"neomutt" = "neomutt -F /etc/neomuttrc"; "neomutt" = "neomutt -F /etc/neomuttrc";
}; };