toggle physics
This commit is contained in:
parent
44a2f3ee01
commit
e13ad6a8ee
13 changed files with 79 additions and 112 deletions
|
|
@ -16,7 +16,9 @@
|
||||||
];
|
];
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./imports.nix
|
./system/import_system.nix
|
||||||
|
./user/marty.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
# programs.walker.enable = true;
|
# programs.walker.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,8 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./marty-pc.nix
|
./hosts/marty-pc.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./user/marty.nix
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -41,9 +40,8 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./marty-server.nix
|
./hosts/marty-server.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./user/marty.nix
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
@ -52,9 +50,8 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./marty-latitude.nix
|
./hosts/marty-latitude.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./user/marty.nix
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
marty = import ./modules/home.nix;
|
marty = import ./../modules/home.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users = {
|
users = {
|
||||||
marty = import ./modules/home.nix;
|
marty = import ./../modules/home.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users = {
|
users = {
|
||||||
marty = import ./modules/home.nix;
|
marty = import ./../modules/home.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
15
imports.nix
15
imports.nix
|
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./system/import_system.nix
|
|
||||||
./modules/import_modules.nix
|
|
||||||
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -6,6 +6,10 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
development = {
|
||||||
|
vscodium.enable = true;
|
||||||
|
git.enable = true;
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
./git.nix
|
./git.nix
|
||||||
./vscodium.nix
|
./vscodium.nix
|
||||||
|
|
@ -4,23 +4,19 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
enable_git =
|
|
||||||
if config.networking.hostName == "marty-pc" then
|
|
||||||
true
|
|
||||||
else if config.networking.hostName == "marty-latitude" then
|
|
||||||
true
|
|
||||||
else if config.networking.hostName == "marty-server" then
|
|
||||||
true
|
|
||||||
else
|
|
||||||
false;
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
options = {
|
||||||
|
development = {
|
||||||
|
git.enable = lib.mkEnableOption "enable git";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.development.git.enable {
|
||||||
programs = {
|
programs = {
|
||||||
git = {
|
git = {
|
||||||
enable = enable_git;
|
enable = true;
|
||||||
config = {
|
settings = {
|
||||||
init = {
|
init = {
|
||||||
defaultBranch = "main";
|
defaultBranch = "main";
|
||||||
};
|
};
|
||||||
|
|
@ -31,7 +27,7 @@ in
|
||||||
push = {
|
push = {
|
||||||
autoSetupRemote = true;
|
autoSetupRemote = true;
|
||||||
};
|
};
|
||||||
credential.helper = "libsecret";
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,24 +5,18 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
enable_vscodium =
|
|
||||||
if config.networking.hostName == "marty-pc" then
|
|
||||||
true
|
|
||||||
else if config.networking.hostName == "marty-latitude" then
|
|
||||||
true
|
|
||||||
else if config.networking.hostName == "marty-server" then
|
|
||||||
false
|
|
||||||
else
|
|
||||||
false;
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
options = {
|
||||||
|
development = {
|
||||||
|
vscodium.enable = lib.mkEnableOption "enable vscodium";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.development.vscodium.enable {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = enable_vscodium;
|
enable = true;
|
||||||
package = pkgs.vscodium;
|
package = pkgs.vscodium;
|
||||||
defaultEditor = enable_vscodium;
|
profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||||
extensions = with pkgs.vscode-extensions; [
|
|
||||||
catppuccin.catppuccin-vsc
|
catppuccin.catppuccin-vsc
|
||||||
catppuccin.catppuccin-vsc-icons
|
catppuccin.catppuccin-vsc-icons
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
|
|
@ -34,4 +28,5 @@ in
|
||||||
esbenp.prettier-vscode
|
esbenp.prettier-vscode
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./window_manager
|
./window_manager
|
||||||
|
./development
|
||||||
inputs.walker.homeManagerModules.default
|
inputs.walker.homeManagerModules.default
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./development/import_development.nix
|
|
||||||
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -5,17 +5,17 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# let
|
let
|
||||||
# enable_waybar =
|
enable_waybar =
|
||||||
# if config.networking.hostName == "marty-pc" then
|
if config.networking.hostName == "marty-pc" then
|
||||||
# true
|
true
|
||||||
# else if config.networking.hostName == "marty-latitude" then
|
else if config.networking.hostName == "marty-latitude" then
|
||||||
# true
|
true
|
||||||
# else if config.networking.hostName == "marty-server" then
|
else if config.networking.hostName == "marty-server" then
|
||||||
# false
|
false
|
||||||
# else
|
else
|
||||||
# false;
|
false;
|
||||||
# in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -5,17 +5,17 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# let
|
let
|
||||||
# enable_hyprland =
|
enable_hyprland =
|
||||||
# if config.networking.hostName == "marty-pc" then
|
if config.networking.hostName == "marty-pc" then
|
||||||
# true
|
true
|
||||||
# else if config.networking.hostName == "marty-latitude" then
|
else if config.networking.hostName == "marty-latitude" then
|
||||||
# true
|
true
|
||||||
# else if config.networking.hostName == "marty-server" then
|
else if config.networking.hostName == "marty-server" then
|
||||||
# false
|
false
|
||||||
# else
|
else
|
||||||
# false;
|
false;
|
||||||
# in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue