Compare commits

..

5 Commits

Author SHA1 Message Date
rainy 60fe2f1b3e stuff :3 2025-05-16 16:58:50 -07:00
rainy 6b142d56fd bleh 2025-04-29 19:14:52 -07:00
rainy e92569f0ca gammastep? 2025-04-28 23:56:35 -07:00
rainy 90e800f5ec gammastep 2025-04-28 23:48:02 -07:00
rainy 43cbf3b8db stuff 2025-04-27 02:50:59 -07:00
7 changed files with 227 additions and 15 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ result
build/ build/
node_modules/ node_modules/
.vscode/ .vscode/
secrets.conf

View File

@ -8,6 +8,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./modules/networking.nix
#<home-manager/nixos> #<home-manager/nixos>
]; ];
@ -15,6 +16,22 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelParams = [
# "iommu=pt"
# "vfio-pci.ids='1002:747e,1002:ab30'"
# "pcie_aspm=off"
#];
#boot.kernelModules = [
# "kvm-amd"
#];
# boot.initrd.preDeviceCommands = ''
# DEVS="0000:03:00.0 0000:03:00.1"
# for DEV in $DEVS; do
# echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
# done
# modprobe -i vfio-pci
# '';
#home-manager.useGlobalPkgs = true; #home-manager.useGlobalPkgs = true;
#home-manager.useUserPackages = true; #home-manager.useUserPackages = true;
@ -23,14 +40,15 @@
#home-manager.users.rainy = import ./home.nix; #home-manager.users.rainy = import ./home.nix;
networking.hostName = "rainix"; # Define your hostname. networking.hostName = "rainix"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking # Enable networking
networking.networkmanager.enable = true; #networking.networkmanager.enable = true;
#networking.networkmanager.wifi.powersave = false;
# Set your time zone. # Set your time zone.
time.timeZone = "America/Los_Angeles"; time.timeZone = "America/Los_Angeles";
@ -71,6 +89,28 @@
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
}; };
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
glibc
zlib
openssl
libffi
util-linux
bzip2
sqlite
ncurses
readline
gdbm
libnsl
libtirpc
libxcrypt
gcc
util-linux
freetype
];
# cosmic
services.desktopManager.cosmic.enable = true; services.desktopManager.cosmic.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
@ -81,6 +121,7 @@
ignoreShellProgramCheck = true; ignoreShellProgramCheck = true;
packages = with pkgs; [ packages = with pkgs; [
pavucontrol pavucontrol
#inputs.zen-browser.packages."${system}".specific
#kitty #kitty
#krita #krita
#steam #steam
@ -100,7 +141,17 @@
shell = pkgs.fish; shell = pkgs.fish;
}; };
#steam
programs.steam.enable = true; programs.steam.enable = true;
#virt
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "rainy" ];
virtualisation.podman = {
enable = true;
dockerCompat = true;
};
#programs.fish.enable = true; #programs.fish.enable = true;
# Allow unfree packages # Allow unfree packages
@ -115,6 +166,7 @@
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
# pipewire-pulse # pipewire-pulse
distrobox
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -134,7 +186,7 @@
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; networking.firewall.enable = false;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions

View File

@ -7,11 +7,32 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745380081, "lastModified": 1747340209,
"narHash": "sha256-bUy25YkdRfdWPxSyx22igWi6g3rd3HXKFg+yL4dfBPY=", "narHash": "sha256-tUiXrwlJoG3dzJ+fSwv1S3VPU5ODSPZJHoBmlu4t344=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "1d0e13904bd8c444ab1595f686ede5eff377e881", "rev": "098e365dd83311cc8236f83ea6be42abb49a6c76",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"zen-browser",
"nixpkgs"
]
},
"locked": {
"lastModified": 1743604125,
"narHash": "sha256-ZD61DNbsBt1mQbinAaaEqKaJk2RFo9R/j+eYWeGMx7A=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "180fd43eea296e62ae68e079fcf56aba268b9a1a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -27,11 +48,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745120797, "lastModified": 1746934494,
"narHash": "sha256-owQ0VQ+7cSanTVPxaZMWEzI22Q4bGnuvhVjLAJBNQ3E=", "narHash": "sha256-3n6i+F0sDASjkhbvgFDpPDZGp7z19IrRtjfF9TwJpCA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "69716041f881a2af935021c1182ed5b0cc04d40e", "rev": "e9b21b01e4307176b9718a29ac514838e7f6f4ff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,11 +63,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1745234285, "lastModified": 1747179050,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", "narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141", "rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1743448293,
"narHash": "sha256-bmEPmSjJakAp/JojZRrUvNcDX2R5/nuX6bm+seVaGhs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "77b584d61ff80b4cef9245829a6f1dfad5afdfa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,7 +97,27 @@
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"zen-browser": "zen-browser"
}
},
"zen-browser": {
"inputs": {
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1747278581,
"narHash": "sha256-2TzDRpuU3Ae5yEvt8HiNbgK/c6JogUqQGvTQq7Hj+iA=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "8358d144bccc142fffff1743d1b2dd15e24f7f3a",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
} }
} }
}, },

View File

@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nix-index-database.url = "github:nix-community/nix-index-database"; nix-index-database.url = "github:nix-community/nix-index-database";
zen-browser.url = "github:0xc000022070/zen-browser-flake";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";

View File

@ -5,6 +5,9 @@
./modules/kitty.nix ./modules/kitty.nix
./modules/fish.nix ./modules/fish.nix
./modules/git.nix ./modules/git.nix
./modules/fastfetch.nix
#inputs.zen-browser.homeModules.beta
#./modules/wlsunset.nix
]; ];
home.username = "rainy"; home.username = "rainy";
home.homeDirectory = "/home/rainy"; home.homeDirectory = "/home/rainy";
@ -12,6 +15,14 @@
programs.nix-index.enable = true; programs.nix-index.enable = true;
# programs.zen-browser = {
# enable = true;
# policies = {
# DisableAppUpdate = true;
# DisableTelemetry = true;
# };
# };
home.packages = [ home.packages = [
pkgs.krita pkgs.krita
pkgs.zip pkgs.zip
@ -20,13 +31,46 @@
pkgs.floorp pkgs.floorp
pkgs.element-desktop pkgs.element-desktop
pkgs.stremio pkgs.stremio
pkgs.vscodium pkgs.vscodium-fhs
pkgs.gamemode pkgs.gamemode
pkgs.mangohud pkgs.mangohud
pkgs.gamescope pkgs.gamescope
pkgs.fastfetch #pkgs.fastfetch
pkgs.upscayl pkgs.upscayl
pkgs.heroic pkgs.heroic
pkgs.termusic
pkgs.yt-dlp
pkgs.lagrange
pkgs.prismlauncher
pkgs.linuxConsoleTools
#pkgs.chromium
pkgs.seafile-client
pkgs.ollama-rocm
pkgs.btop
pkgs.signal-desktop
pkgs.bottles
pkgs.dconf
pkgs.zathura
pkgs.revolt-desktop
pkgs.code-cursor
pkgs.lutris-unwrapped
pkgs.wineWowPackages.full
pkgs.protontricks
pkgs.p7zip
pkgs.zenity
pkgs.wget
pkgs.xfce.thunar
pkgs.jq
pkgs.python312Full
pkgs.python312Packages.vdf
pkgs.pciutils
pkgs.nvtopPackages.amd
pkgs.insomnia
#pkgs.meteo
#pkgs.busybox
#pkgs.wlsunset
#pkgs.redshift
#pkgs.youtube-dl
#pkgs.comma #pkgs.comma
]; ];

48
modules/fastfetch.nix Normal file
View File

@ -0,0 +1,48 @@
{
programs.fastfetch = {
enable = true;
settings = {
logo = {
source = "/home/rainy/.config/nc.png";
padding = {
right = 1;
};
type = "kitty";
width = 28;
height = 14;
};
display = {
size = {
binaryPrefix = "si";
};
color = "blue";
separator = " ";
};
modules = [
{
type = "datetime";
key = "Date";
format = "{1}-{3}-{11}";
}
{
type = "datetime";
key = "Time";
format = "{14}:{17}:{20}";
}
"kernel"
"os"
"packages"
"de"
"wm"
"cpu"
"gpu"
"memory"
"disk"
"shell"
"break"
"player"
"media"
];
};
};
}

9
modules/networking.nix Normal file
View File

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
#{
# networking.wireless = {
# secretsFile = "/home/rainy/nix-config/secrets.conf";
{
networking.networkmanager.enable = true;
}