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 = [
|
||||
inputs.home-manager.nixosModules.default
|
||||
"${modulesPath}/profiles/minimal.nix"
|
||||
|
@ -49,38 +41,31 @@
|
|||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
# nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
# nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
nix.settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
substituters = [
|
||||
"https://cache.garnix.io"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters =
|
||||
[ "https://cache.garnix.io" "https://nix-community.cachix.org" ];
|
||||
trusted-public-keys = [
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
# Home manager setup
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.sako = {pkgs, ...}: {
|
||||
home-manager.users.sako = { pkgs, ... }: {
|
||||
home.stateVersion = "22.05";
|
||||
home.packages = [];
|
||||
home.packages = [ ];
|
||||
home.username = "sako";
|
||||
home.homeDirectory = "/home/sako";
|
||||
xdg.configFile.git = {
|
||||
source = ../../config/git;
|
||||
};
|
||||
xdg.configFile.git = { source = ../../config/git; };
|
||||
|
||||
# cure my sanity
|
||||
home.pointerCursor = {
|
||||
name = "Catppuccin-Mocha-Dark";
|
||||
size = 16;
|
||||
x11 = {
|
||||
enable = true;
|
||||
};
|
||||
x11 = { enable = true; };
|
||||
gtk.enable = true;
|
||||
package = pkgs.catppuccin-cursors.mochaDark;
|
||||
};
|
||||
|
@ -106,7 +91,7 @@
|
|||
# bare minimum
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim # backup
|
||||
wget #double u get
|
||||
wget # double u get
|
||||
killall # die processes
|
||||
unzip # zip file
|
||||
gh # github
|
||||
|
@ -115,8 +100,6 @@
|
|||
wsl-open # wsl-open
|
||||
];
|
||||
|
||||
environment.noXlibs = lib.mkForce false;
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitFull;
|
||||
|
@ -128,9 +111,7 @@
|
|||
nextcloud.enable = true;
|
||||
pass.enable = true;
|
||||
};
|
||||
chat = {
|
||||
weechat.enable = true;
|
||||
};
|
||||
chat = { weechat.enable = true; };
|
||||
};
|
||||
dev = {
|
||||
editors = {
|
||||
|
@ -157,17 +138,13 @@
|
|||
search.enable = true;
|
||||
};
|
||||
};
|
||||
security = {
|
||||
certs.enable = true;
|
||||
};
|
||||
security = { certs.enable = true; };
|
||||
};
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
# for wsl-open
|
||||
environment.sessionVariables = rec {
|
||||
BROWSER = "wsl-open";
|
||||
};
|
||||
environment.sessionVariables = rec { BROWSER = "wsl-open"; };
|
||||
|
||||
security.sudo.wheelNeedsPassword = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue