Compare commits
5 Commits
3b7c49041c
...
18df257
Author | SHA1 | Date | |
---|---|---|---|
18df257130 | |||
c9ffd8a567 | |||
637f7e0d78 | |||
4ff3ab574f | |||
633eea8877 |
24
flake.lock
generated
24
flake.lock
generated
@ -8,11 +8,11 @@
|
||||
},
|
||||
"locked": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"lastModified": 1745752599,
|
||||
"narHash": "sha256-vX5uq4wv7FeNeeFtsTPXQ9n2hd92NFXI+u9sg1K8OhA=",
|
||||
"lastModified": 1747729513,
|
||||
"narHash": "sha256-VZbReaqQ7V9iaiX7FboESQ6dqp7qa3aHJX0Li+UUBIc=",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"rev": "0388c30f59e860307b2ef0ba93f38d2e525a153e",
|
||||
"rev": "efc877d7497ac06bd8c63778129b3740615d88be",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
@ -29,11 +29,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1745894335,
|
||||
"narHash": "sha256-m47zhftaod/oHOwoVT25jstdcVLhkrVGyvEHKjbnFHI=",
|
||||
"lastModified": 1747747328,
|
||||
"narHash": "sha256-3Gc5CqAJqpvI4gIU1Oxbl5w440b+rY9HvDzs5C0ChBA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "1ad123239957d40e11ef66c203d0a7e272eb48aa",
|
||||
"rev": "65d2282ff6cf560f54997013bd1e575fbd0a7ebf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -44,11 +44,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1745907084,
|
||||
"narHash": "sha256-Q8SpDbTI95vtKXgNcVl1VdSUhhDOORE8R77wWS2rmg8=",
|
||||
"lastModified": 1747723695,
|
||||
"narHash": "sha256-lSXzv33yv1O9r9Ai1MtYFDX3OKhWsZMn/5FFb4Rni/k=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "f1e52a018166e1a324f832de913e12c0e55792d0",
|
||||
"rev": "6ac6ec6fcb410e15a60ef5ec94b8a2b35b5dd282",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -60,11 +60,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1745794561,
|
||||
"narHash": "sha256-T36rUZHUART00h3dW4sV5tv4MrXKT7aWjNfHiZz7OHg=",
|
||||
"lastModified": 1747542820,
|
||||
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5461b7fa65f3ca74cef60be837fd559a8918eaa0",
|
||||
"rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
|
||||
# Updated: 2025/04/25 00:08:54 by tomoron ### ########.fr #
|
||||
# Updated: 2025/05/12 12:35:00 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
|
||||
|
||||
home.file = { #should be able to make most of these in nix configs
|
||||
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
|
||||
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper_test.png;
|
||||
".config/pc.jpg".source = lib.mkDefault utils/pc.jpg;
|
||||
".config/rofi/config.rasi".text = "@theme \"rounded-nord-dark.rasi\"";
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".config/wallpaper.png".source = ../utils/wallpaper_test.png;
|
||||
programs.waybar.settings.mainBar = {
|
||||
modules-right = lib.mkBefore ["custom/fans" "custom/dgpu"];
|
||||
"custom/dgpu" = {
|
||||
|
@ -18,7 +18,7 @@
|
||||
home.packages = with pkgs; [
|
||||
clang-tools
|
||||
nixd
|
||||
nodejs_23
|
||||
nodejs_24
|
||||
glsl_analyzer
|
||||
];
|
||||
|
||||
|
@ -2,12 +2,6 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../modules/game.nix
|
||||
../modules/nvidia.nix
|
||||
../modules/vboxHost.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
cudatoolkit
|
||||
lm_sensors
|
||||
@ -18,6 +12,7 @@
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
boot.kernelModules = [ "kvm-intel" "nvidia" ];
|
||||
mods.displayManager.enable = true;
|
||||
|
||||
|
||||
hardware.nvidia = {
|
||||
|
@ -6,8 +6,7 @@
|
||||
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
|
||||
boot.initrd.luks.devices.cryptroot.allowDiscards = true;
|
||||
|
||||
services.displayManager.enable = true;
|
||||
services.displayManager.ly.enable = true;
|
||||
mods.displayManager.enable = true;
|
||||
networking.firewall.enable = false;
|
||||
|
||||
networking.hostName = "patate-douce";
|
||||
|
15
osConfigs/modules/displayManager.nix
Normal file
15
osConfigs/modules/displayManager.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{config, lib, ... }:
|
||||
|
||||
{
|
||||
options.mods.displayManager.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "enable the display manager";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.displayManager.enable {
|
||||
services.displayManager.enable = true;
|
||||
services.displayManager.ly.enable = true;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user