mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-06-08 04:59:29 +00:00
~
This commit is contained in:
parent
ba9f49ea9a
commit
58e551abb2
14 changed files with 686 additions and 740 deletions
|
@ -8,4 +8,7 @@ indent_style = tab
|
|||
indent_size = 4
|
||||
|
||||
[*.{yml, yaml}]
|
||||
indent_style = space # stupid cocksucking motherfucking piece of shit
|
||||
# stupid cocksucking motherfucking piece of shit
|
||||
indent_style = space
|
||||
indent_size = 1
|
||||
|
||||
|
|
|
@ -26,3 +26,4 @@
|
|||
],
|
||||
"exclude-apps" : []
|
||||
}
|
||||
|
||||
|
|
|
@ -61,3 +61,4 @@ menu "Applications"
|
|||
"Kate" !"kate&"
|
||||
"VSCodium" !"codium&"
|
||||
}
|
||||
|
||||
|
|
1
nixos/flake.lock
generated
1
nixos/flake.lock
generated
|
@ -382,3 +382,4 @@
|
|||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }@inputs: {
|
||||
nixosConfigurations =
|
||||
let
|
||||
nixosConfigurations = let
|
||||
mkSystem = hostname: arch: with nixpkgs; {
|
||||
name = hostname;
|
||||
value = lib.nixosSystem {
|
||||
|
@ -48,3 +47,4 @@
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -38,32 +38,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
# TODO: when you get home
|
||||
# + try to make a configuration for your desktop host specifically maybe
|
||||
# r5e.system = {
|
||||
# graphics = {
|
||||
# display.x11 = {
|
||||
# enable = true;
|
||||
# windowManagers = {
|
||||
# twm.enable = true;
|
||||
# openbox.enable = true;
|
||||
# };
|
||||
# displayManager.autologin = {
|
||||
# enable = true;
|
||||
# session = "none+openbox";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
#
|
||||
# hardwareAcceleration = {
|
||||
# enable = true;
|
||||
# intel = {
|
||||
# videoPlayback.enable = true;
|
||||
# qsv.enable = true;
|
||||
# };
|
||||
# nvidia.enable = true;
|
||||
# };
|
||||
# };
|
||||
|
||||
boot = {
|
||||
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
@ -112,24 +86,6 @@
|
|||
enable = true;
|
||||
powerOnBoot = true;
|
||||
};
|
||||
# graphics = {
|
||||
# enable = true;
|
||||
# extraPackages = with pkgs; [
|
||||
# intel-media-sdk
|
||||
# ];
|
||||
# };
|
||||
# nvidia = {
|
||||
# modesetting.enable = true;
|
||||
# powerManagement = {
|
||||
# enable = false;
|
||||
# finegrained = false;
|
||||
# };
|
||||
# open = false;
|
||||
# nvidiaSettings = true;
|
||||
# package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
# # temp
|
||||
# package = config.boot.kernelPackages.nvidiaPackages.legacy_390;
|
||||
# };
|
||||
opentabletdriver.enable = true;
|
||||
};
|
||||
|
||||
|
@ -175,31 +131,6 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
# Xorg
|
||||
# xserver = {
|
||||
# enable = true;
|
||||
# xkb.layout = "us";
|
||||
#?TODO maybe put all nvidia settings into its own module (i.e. r5e.hardware.nvidia.enable) + x11 with xdg config
|
||||
# videoDrivers = [ "nvidia" ];
|
||||
# windowManager = {
|
||||
# cwm.enable = true;
|
||||
# openbox.enable = true;
|
||||
# twm.enable = true;
|
||||
# };
|
||||
# };
|
||||
# displayManager = {
|
||||
# sddm = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# Autologin = {
|
||||
# User = "rae";
|
||||
# Session = "none+openbox";
|
||||
# };
|
||||
# };
|
||||
# theme = "catppuccin-mocha";
|
||||
# };
|
||||
# };
|
||||
|
||||
# Touchpad support
|
||||
libinput.enable = true;
|
||||
# Sound
|
||||
|
@ -287,3 +218,4 @@
|
|||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Runtime
|
||||
# Runtime
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
};
|
||||
virtualisation.oci-containers.backend = "docker";
|
||||
|
||||
# Containers
|
||||
# Containers
|
||||
virtualisation.oci-containers.containers."pihole" = {
|
||||
image = "pihole/pihole:latest";
|
||||
environment = {
|
||||
|
@ -53,7 +53,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Networks
|
||||
# Networks
|
||||
systemd.services."docker-network-pihole_default" = {
|
||||
path = [ pkgs.docker ];
|
||||
serviceConfig = {
|
||||
|
@ -68,9 +68,9 @@
|
|||
wantedBy = [ "docker-compose-pihole-root.target" ];
|
||||
};
|
||||
|
||||
# Root service
|
||||
# When started, this will automatically create all resources and start
|
||||
# the containers. When stopped, this will teardown all resources.
|
||||
# Root service
|
||||
# When started, this will automatically create all resources and start
|
||||
# the containers. When stopped, this will teardown all resources.
|
||||
systemd.targets."docker-compose-pihole-root" = {
|
||||
unitConfig = {
|
||||
Description = "Root target generated by compose2nix.";
|
||||
|
@ -78,3 +78,4 @@
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -8,3 +8,4 @@
|
|||
};
|
||||
})
|
||||
]
|
||||
|
||||
|
|
|
@ -21,3 +21,4 @@
|
|||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
wxwabbitemu = callPackage ./wxwabbitemu {};
|
||||
ynodesktop = callPackage ./ynodesktop {};
|
||||
}
|
||||
|
||||
|
|
|
@ -18,3 +18,4 @@
|
|||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -23,3 +23,4 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.free;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -8,3 +8,4 @@ stdenv.mkDerivation {
|
|||
description = "A portable linker for multiple file formats";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -84,3 +84,4 @@
|
|||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue