changes 8
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, pkgs, home-manager, ...}:
|
{ lib, config, pkgs, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
customPolybar = pkgs.polybar.override {
|
customPolybar = pkgs.polybar.override {
|
||||||
|
@ -7,7 +7,6 @@ let
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
home-manager.nixosModules.default
|
|
||||||
./main.nix
|
./main.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -178,75 +177,6 @@ in {
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
home-manager.users.usr = {
|
|
||||||
home.stateVersion = "23.05";
|
|
||||||
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
extraLuaPackages = luaPkgs: with luaPkgs; [ luaexpat ];
|
|
||||||
extraPackages = [ pkgs.sqlite ];
|
|
||||||
};
|
|
||||||
|
|
||||||
home.file = {
|
|
||||||
".config/bash" = {
|
|
||||||
source = ../config/bash;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/bspwm" = {
|
|
||||||
source = ../config/bspwm;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/git" = {
|
|
||||||
source = ../config/git;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/htop" = {
|
|
||||||
source = ../config/htop;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/nvim" = {
|
|
||||||
source = ../config/nvim;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/python" = {
|
|
||||||
source = ../config/python;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/polybar" = {
|
|
||||||
source = ../config/polybar;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/sx" = {
|
|
||||||
source = ../config/sx;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/sxhkd" = {
|
|
||||||
source = ../config/sxhkd;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/tridactyl" = {
|
|
||||||
source = ../config/tridactyl;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/zathura" = {
|
|
||||||
source = ../config/zathura;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".local/share/wallpapers" = {
|
|
||||||
source = ../wallpapers;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".local/share/gnupg" = {
|
|
||||||
source = ../config/gnupg;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".config/emacs" = {
|
|
||||||
source = ../config/emacs;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"profile.local" = {
|
"profile.local" = {
|
||||||
text = "source /home/usr/.config/bash/profile";
|
text = "source /home/usr/.config/bash/profile";
|
||||||
|
|
|
@ -32,6 +32,5 @@ in {
|
||||||
(pkgs.callPackage ../builds/rebuild.nix {})
|
(pkgs.callPackage ../builds/rebuild.nix {})
|
||||||
];
|
];
|
||||||
|
|
||||||
system.copySystemConfiguration = true;
|
|
||||||
system.stateVersion = "23.11"; # don't change this, lol
|
system.stateVersion = "23.11"; # don't change this, lol
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
{ lib, config, pkgs, home-manager, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
home
|
||||||
|
|
11
flake.nix
|
@ -13,13 +13,18 @@
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
virtbox = nixpkgs.lib.nixosSystem {
|
virtbox = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
# specialArgs = inputs;
|
||||||
home-manager = home-manager;
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./bootstrap.nix
|
./bootstrap.nix
|
||||||
./boxes/virtbox.nix
|
./boxes/virtbox.nix
|
||||||
./common/desktop.nix
|
./common/desktop.nix
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
|
||||||
|
home-manager.users.usr = import ./home/terminal.nix;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
16
home.nix
|
@ -1,16 +0,0 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
home.username = "usr";
|
|
||||||
home.homeDirectory = lib.mkForce "/home/usr";
|
|
||||||
|
|
||||||
home.packages = [
|
|
||||||
pkgs.htop
|
|
||||||
];
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home.stateVersion = "23.11";
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
}
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ lib, config, pkgs, home, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.file = {
|
||||||
|
".config/bash/bashrc" = {
|
||||||
|
source = ./bashrc;
|
||||||
|
};
|
||||||
|
".config/bash/profile" = {
|
||||||
|
source = ./profile;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ lib, config, pkgs, home, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.file = {
|
||||||
|
".config/bspwm/bspwmrc" = {
|
||||||
|
source = ./bspwmrc;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
Before Width: | Height: | Size: 851 B After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 849 B After Width: | Height: | Size: 849 B |
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 919 B After Width: | Height: | Size: 919 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 591 B After Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 778 B After Width: | Height: | Size: 778 B |
Before Width: | Height: | Size: 778 B After Width: | Height: | Size: 778 B |
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 919 B After Width: | Height: | Size: 919 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |