This commit is contained in:
Sakooooo 2023-07-09 01:04:06 +03:00
parent 9c3f5257bd
commit 57e922ddc0
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 56 additions and 79 deletions

View file

@ -63,4 +63,54 @@
# already sold soul to corporations \_O_/ # already sold soul to corporations \_O_/
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
home-manager.useUserPackages = true;
home-manager.users.sako = { pkgs, ...}: {
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!
home.stateVersion = "23.05";
home.packages = [];
home.username = "sako";
home.homeDirectory = "/home/sako";
programs.bash.enable = true;
programs.home-manager.enable = true;
xdg.configFile.git = {
source = ./config/git;
};
};
# bare minimum
environment.systemPackages = with pkgs; [
neovim #editor
wget #double u get
killall # die processes
alsa-utils # unsupported application
pulseaudio # unsupported application
pamixer # unsupported application
feh # im different
unzip # zip file
gh # get hub
htop # h top
tree # trees
];
# you phisiclally cannot live without this
# litearlly! ! ! ! ! !
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "gtk2";
# enableSSHSupport = true;
};
programs.git = {
enable = true;
package = pkgs.gitFull;
};
# something nixos release
# something use ful in for mat ion
# blah blah blah
# nixos packages type shit
# change this on every update idiot
# dont name it to string beans or some shit
# you idiot
system.stateVersion = "23.05";
# read comment you read the comment?
} }

View file

@ -15,9 +15,12 @@
desktop = { desktop = {
kitty.enable = true; kitty.enable = true;
bspwm.enable = true; bspwm.enable = true;
apps = { browsers = {
qutebrowser.enable = true; qutebrowser.enable = true;
}; };
apps = {
keepassxc.enable = true;
};
}; };
hardware = { hardware = {
nvidia.enable = true; nvidia.enable = true;
@ -37,22 +40,13 @@
# Enable CUPS to print documents. # Enable CUPS to print documents.
# services.printing.enable = true; # services.printing.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true;
# TODO(sako):: put this in different files # TODO(sako):: put this in different files
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.sako= { users.users.sako= {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
firefox
keepassxc
tree tree
dmenu
#rofi
#kitty
#polybar
steam steam
winetricks winetricks
wineWowPackages.staging wineWowPackages.staging
@ -96,32 +90,11 @@
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.sako = { pkgs, ...}: { home-manager.users.sako = { pkgs, ...}: {
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!! xdg.configFile = {
home.stateVersion = "23.05";
home.packages = [];
home.username = "sako";
home.homeDirectory = "/home/sako";
programs.bash.enable = true;
programs.home-manager.enable = true;
programs.git = {
enable = true;
package = pkgs.gitFull;
};
xdg.configFile = {
git = {
source = ../../config/git;
};
nvim = { nvim = {
source = ../../config/nvim; source = ../../config/nvim;
recursive = true; recursive = true;
}; };
bspwm = {
source = ../../config/bspwm;
};
sxhkd = {
source = ../../config/sxhkd;
};
ncmpcpp = { ncmpcpp = {
source = ../../config/ncmpcpp; source = ../../config/ncmpcpp;
recursive = true; recursive = true;
@ -129,39 +102,6 @@
}; };
}; };
# git crediental manager is in gitFull package
# config options happen to be here too
#programs.git = {
# enable = true;
# package = pkgs.gitFull;
# userName = "Sakooooo";
# userEmail = "78461130+Sakooooo@users.noreply.github.com";
#};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
killall
alsa-utils
pulseaudio
pamixer
feh
unzip
gh
htop
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "gtk2";
# enableSSHSupport = true;
};
# List services that you want to enable: # List services that you want to enable:
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
@ -173,18 +113,5 @@
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix.
# system.copySystemConfiguration = true;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
} }