hosts/sakowsl: shuT UP
This commit is contained in:
parent
161bbe7f41
commit
56d7b58705
1 changed files with 16 additions and 39 deletions
|
@ -1,12 +1,4 @@
|
||||||
{
|
{ lib, pkgs, config, modulesPath, inputs, outputs, ... }: {
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
modulesPath,
|
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
"${modulesPath}/profiles/minimal.nix"
|
"${modulesPath}/profiles/minimal.nix"
|
||||||
|
@ -49,38 +41,31 @@
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
# nix.settings.experimental-features = ["nix-command" "flakes"];
|
# nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
substituters = [
|
substituters =
|
||||||
"https://cache.garnix.io"
|
[ "https://cache.garnix.io" "https://nix-community.cachix.org" ];
|
||||||
"https://nix-community.cachix.org"
|
|
||||||
];
|
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Home manager setup
|
# Home manager setup
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.sako = {pkgs, ...}: {
|
home-manager.users.sako = { pkgs, ... }: {
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
home.packages = [];
|
home.packages = [ ];
|
||||||
home.username = "sako";
|
home.username = "sako";
|
||||||
home.homeDirectory = "/home/sako";
|
home.homeDirectory = "/home/sako";
|
||||||
xdg.configFile.git = {
|
xdg.configFile.git = { source = ../../config/git; };
|
||||||
source = ../../config/git;
|
|
||||||
};
|
|
||||||
|
|
||||||
# cure my sanity
|
# cure my sanity
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
name = "Catppuccin-Mocha-Dark";
|
name = "Catppuccin-Mocha-Dark";
|
||||||
size = 16;
|
size = 16;
|
||||||
x11 = {
|
x11 = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
package = pkgs.catppuccin-cursors.mochaDark;
|
package = pkgs.catppuccin-cursors.mochaDark;
|
||||||
};
|
};
|
||||||
|
@ -97,16 +82,16 @@
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#pinentryPackage = null;
|
#pinentryPackage = null;
|
||||||
settings = {
|
settings = {
|
||||||
# pinentry-program = "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe";
|
# pinentry-program = "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe";
|
||||||
allow-emacs-pinentry = "";
|
allow-emacs-pinentry = "";
|
||||||
allow-loopback-pinentry = "";
|
allow-loopback-pinentry = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# bare minimum
|
# bare minimum
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim # backup
|
vim # backup
|
||||||
wget #double u get
|
wget # double u get
|
||||||
killall # die processes
|
killall # die processes
|
||||||
unzip # zip file
|
unzip # zip file
|
||||||
gh # github
|
gh # github
|
||||||
|
@ -115,8 +100,6 @@
|
||||||
wsl-open # wsl-open
|
wsl-open # wsl-open
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.noXlibs = lib.mkForce false;
|
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitFull;
|
package = pkgs.gitFull;
|
||||||
|
@ -128,9 +111,7 @@
|
||||||
nextcloud.enable = true;
|
nextcloud.enable = true;
|
||||||
pass.enable = true;
|
pass.enable = true;
|
||||||
};
|
};
|
||||||
chat = {
|
chat = { weechat.enable = true; };
|
||||||
weechat.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
dev = {
|
dev = {
|
||||||
editors = {
|
editors = {
|
||||||
|
@ -157,17 +138,13 @@
|
||||||
search.enable = true;
|
search.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
security = {
|
security = { certs.enable = true; };
|
||||||
certs.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
# for wsl-open
|
# for wsl-open
|
||||||
environment.sessionVariables = rec {
|
environment.sessionVariables = rec { BROWSER = "wsl-open"; };
|
||||||
BROWSER = "wsl-open";
|
|
||||||
};
|
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = true;
|
security.sudo.wheelNeedsPassword = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue