Compare commits
12 Commits
17e3fc6a9e
...
1e46d42
Author | SHA1 | Date | |
---|---|---|---|
1e46d42f27 | |||
7aef691ea2 | |||
63d2538734 | |||
84bc2fd737 | |||
f362997567 | |||
ea4489732b | |||
6c35b8fb99 | |||
76702ea878 | |||
b261195413 | |||
6651ba444e | |||
093ac9c011 | |||
d6ca7ba793 |
24
flake.lock
generated
24
flake.lock
generated
@ -8,11 +8,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "pkgs/firefox-addons",
|
"dir": "pkgs/firefox-addons",
|
||||||
"lastModified": 1753070653,
|
"lastModified": 1756353808,
|
||||||
"narHash": "sha256-vp4Svdpb90eEYkUKxjVROgcJ92u/2sVF8hnpsiKJEhI=",
|
"narHash": "sha256-JkCqOE0kjWbT7GnXgngL+baLF/OeeVfPCh71HXfRh6g=",
|
||||||
"owner": "rycee",
|
"owner": "rycee",
|
||||||
"repo": "nur-expressions",
|
"repo": "nur-expressions",
|
||||||
"rev": "87f5912350a5bac28eacc1b89bb1767ca1a77e7e",
|
"rev": "e47914363ccacc95994b567966d7fa1e25dd85ec",
|
||||||
"type": "gitlab"
|
"type": "gitlab"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -29,11 +29,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753056897,
|
"lastModified": 1756261190,
|
||||||
"narHash": "sha256-AVVMBFcuOXqIgmShvRv9TED3fkiZhQ0ZvlhsPoFfkNE=",
|
"narHash": "sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "13a83d1b6545b7f0e8f7689bad62e7a3b1d63771",
|
"rev": "77f348da3176dc68b20a73dab94852a417daf361",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -44,11 +44,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753122741,
|
"lastModified": 1756245047,
|
||||||
"narHash": "sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM=",
|
"narHash": "sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "cc66fddc6cb04ab479a1bb062f4d4da27c936a22",
|
"rev": "a65b650d6981e23edd1afa1f01eb942f19cdcbb7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -60,11 +60,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752950548,
|
"lastModified": 1756266583,
|
||||||
"narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
|
"narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
|
"rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -12,6 +12,8 @@
|
|||||||
mods.x11.enable = true;
|
mods.x11.enable = true;
|
||||||
programs.firefox.enable = false;
|
programs.firefox.enable = false;
|
||||||
|
|
||||||
|
mods.polybar.fspath = "/home/tomoron";
|
||||||
|
|
||||||
mods.sync.homeFolder = "/home/tomoron/sync";
|
mods.sync.homeFolder = "/home/tomoron/sync";
|
||||||
mods.sync.defaultSynced = false;
|
mods.sync.defaultSynced = false;
|
||||||
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
|
mods.sync.syncedAdditions = [ "42_desktop" "Downloads" ];
|
||||||
|
@ -36,9 +36,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
stremio
|
|
||||||
blender
|
blender
|
||||||
wireshark
|
wireshark
|
||||||
|
localsend
|
||||||
];
|
];
|
||||||
|
|
||||||
#mods.sync.syncedAdditions = ["VirtualBox VMs"];
|
#mods.sync.syncedAdditions = ["VirtualBox VMs"];
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
mods.game.enable = false;
|
||||||
|
mods.hyprland.enable = false;
|
||||||
|
mods.x11.enable = true;
|
||||||
|
programs.firefox.enable = false;
|
||||||
|
|
||||||
services.picom = {
|
services.picom = {
|
||||||
backend = "xrender";
|
backend = "xrender";
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
#install stdheader 42
|
#install stdheader 42
|
||||||
".config/nvim/plugin/stdheader.vim".source = "${builtins.fetchGit {
|
".config/nvim/plugin/stdheader.vim".source = "${builtins.fetchGit {
|
||||||
url = "https://github.com/42Paris/42header";
|
url = "https://github.com/42Paris/42header";
|
||||||
rev = "71e6a4df6d72ae87a080282bf45bb993da6146b2";
|
rev = "e6e6b191871545e0d43f1aad817070bc806b8fa7";
|
||||||
ref = "master";
|
ref = "master";
|
||||||
}}/plugin/stdheader.vim";
|
}}/plugin/stdheader.vim";
|
||||||
|
|
||||||
|
@ -6,13 +6,19 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/10 02:51:32 by tomoron #+# #+# #
|
# Created: 2025/02/10 02:51:32 by tomoron #+# #+# #
|
||||||
# Updated: 2025/02/10 17:28:27 by tomoron ### ########.fr #
|
# Updated: 2025/08/07 15:30:07 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
options.mods.polybar.fspath = lib.mkOption {
|
||||||
|
type = lib.types.str;
|
||||||
|
default = "/";
|
||||||
|
description = "set the filesystem path for the remaining disk space";
|
||||||
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.mods.x11.enable {
|
config = lib.mkIf config.mods.x11.enable {
|
||||||
services.polybar.enable = true;
|
services.polybar.enable = true;
|
||||||
services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&";
|
services.polybar.script = "pgrep polybar >/dev/null || polybar -q main -c \"$HOME/.config/polybar/config.ini\"&";
|
||||||
@ -44,8 +50,8 @@
|
|||||||
|
|
||||||
"module/filesystem" = {
|
"module/filesystem" = {
|
||||||
type = "internal/fs";
|
type = "internal/fs";
|
||||||
mount-0 = "/";
|
mount-0 = config.mods.polybar.fspath;
|
||||||
interval = 30;
|
interval = 10;
|
||||||
fixed-values = true;
|
fixed-values = true;
|
||||||
format-mounted = "<label-mounted>";
|
format-mounted = "<label-mounted>";
|
||||||
format-mounted-prefix = "";
|
format-mounted-prefix = "";
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
|
# Created: 2025/02/09 22:01:56 by tomoron #+# #+# #
|
||||||
# Updated: 2025/07/23 18:00:40 by tomoron ### ########.fr #
|
# Updated: 2025/08/04 15:38:21 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -43,5 +43,6 @@
|
|||||||
libcaca
|
libcaca
|
||||||
nasm
|
nasm
|
||||||
nerd-fonts.iosevka
|
nerd-fonts.iosevka
|
||||||
|
compiledb
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
/nix/store/ffxpgsp8bpdfab8kd0vnlpappy5s65ag-home-manager-generation
|
|
@ -6,7 +6,7 @@
|
|||||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2025/02/09 01:43:46 by tomoron #+# #+# #
|
# Created: 2025/02/09 01:43:46 by tomoron #+# #+# #
|
||||||
# Updated: 2025/04/23 20:31:46 by tomoron ### ########.fr #
|
# Updated: 2025/08/07 17:46:37 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -46,7 +46,13 @@
|
|||||||
|
|
||||||
users.users.tom = {
|
users.users.tom = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "docker" "libvirtd" "dialout" "wireshark"];
|
extraGroups = [
|
||||||
|
"wheel" # can sudo
|
||||||
|
"docker" # can use docker
|
||||||
|
"libvirtd" # can use libvirtd
|
||||||
|
"dialout" # can use serial devices
|
||||||
|
"wireshark" # can use wireshask
|
||||||
|
];
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,17 +65,22 @@
|
|||||||
#power management
|
#power management
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
powerManagement.cpuFreqGovernor = "powersave";
|
powerManagement.cpuFreqGovernor = "powersave";
|
||||||
services.auto-cpufreq.enable = true;
|
|
||||||
services.auto-cpufreq.settings = {
|
services.asusd = {
|
||||||
battery = {
|
enable = true;
|
||||||
governor = "powersave";
|
enableUserService = true;
|
||||||
turbo = "never";
|
|
||||||
};
|
|
||||||
charger = {
|
|
||||||
governor = "performance";
|
|
||||||
turbo = "auto";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
services.supergfxd.enable = true;
|
||||||
|
services.supergfxd.settings = {
|
||||||
|
mode = "Integrated";
|
||||||
|
vfio_enable = true;
|
||||||
|
vfio_save = true;
|
||||||
|
always_reboot = false;
|
||||||
|
no_logind = true;
|
||||||
|
logout_timeout_s = 180;
|
||||||
|
hotplug_type = "None";
|
||||||
|
};
|
||||||
|
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
|
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||||
@ -83,6 +88,11 @@
|
|||||||
programs.wireshark.enable = true;
|
programs.wireshark.enable = true;
|
||||||
programs.wireshark.usbmon.enable = true;
|
programs.wireshark.usbmon.enable = true;
|
||||||
|
|
||||||
|
programs.alvr.enable = true;
|
||||||
|
programs.alvr.openFirewall = true;
|
||||||
|
|
||||||
|
services.usbmuxd.enable = true;
|
||||||
|
|
||||||
# boot.plymouth = {
|
# boot.plymouth = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# theme = "ycontre-glow";
|
# theme = "ycontre-glow";
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
{ config, lib, inputs, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
virtualisation.virtualbox.guest.enable = true;
|
||||||
|
mods.nvidia-graphics.enable = false;
|
||||||
|
mods.virtualManager.enable = false;
|
||||||
|
mods.gayming.enable = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
services.displayManager.ly.enable = true;
|
services.displayManager.ly.enable = true;
|
||||||
services.displayManager.ly.settings =
|
services.displayManager.ly.settings =
|
||||||
{
|
{
|
||||||
|
animation = "doom";
|
||||||
|
min_refresh_delta = 50;
|
||||||
|
bigclock = "en";
|
||||||
sleep_cmd = "systemctl sleep";
|
sleep_cmd = "systemctl sleep";
|
||||||
asterisk = "A";
|
asterisk = "A";
|
||||||
auth_fails= 3;
|
auth_fails= 3;
|
||||||
|
Reference in New Issue
Block a user