one second

This commit is contained in:
Sakooooo 2023-08-18 08:46:05 +00:00
parent 24c8511846
commit 945b82466a

View file

@ -1,13 +1,19 @@
{ 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"
outputs.nixosModules.shell outputs.nixosModules.shell
outputs.nixosModules.hardware outputs.nixosModules.hardware
outputs.nixosModules.dev outputs.nixosModules.dev
outputs.nixosModules.media outputs.nixosModules.media
]; ];
wsl = { wsl = {
@ -24,7 +30,6 @@
# Enable integration with Docker Desktop (needs to be installed) # Enable integration with Docker Desktop (needs to be installed)
# docker-desktop.enable = true; # docker-desktop.enable = true;
}; };
users.users.sako.isNormalUser = true; users.users.sako.isNormalUser = true;
@ -36,19 +41,16 @@
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"];
# 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 = { };
source = ../../config/git;
};
};
# bare minimum # bare minimum
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -77,15 +79,15 @@
modules = { modules = {
dev = { dev = {
editors = { editors = {
nvim.enable = true; nvim.enable = true;
}; };
cc.enable = true; cc.enable = true;
nil.enable = true; nil.enable = true;
python.enable = true; python.enable = true;
rust.enable = true; rust.enable = true;
javascript.enable = true; javascript.enable = true;
}; };
shell = { shell = {
zsh.enable = true; zsh.enable = true;
tmux.enable = true; tmux.enable = true;