fmt
This commit is contained in:
parent
15f66bd3af
commit
08a7dddea6
@ -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;
|
||||||
|
@ -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" ];
|
||||||
|
16
gui/xfce.nix
16
gui/xfce.nix
@ -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; };
|
||||||
};
|
};
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user