Compare commits
2 commits
1b6c6967d9
...
58f64684c9
| Author | SHA1 | Date | |
|---|---|---|---|
| 58f64684c9 | |||
| cc9dbac99e |
6 changed files with 56 additions and 84 deletions
24
flake.lock
generated
24
flake.lock
generated
|
|
@ -199,11 +199,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1760887455,
|
||||
"narHash": "sha256-/xU8iYZjolWbMUNBQF6af5zgGs73Qw21WMgz1tLs3Yw=",
|
||||
"lastModified": 1761316995,
|
||||
"narHash": "sha256-BAAjCpjTnfaxtc9NCkbUl9MUv5JmAG5qU7/G8TTHmb4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "aeabc1ac63e6ebb8ba4714c4abdfe0556f2de765",
|
||||
"rev": "82b58f38202540bce4e5e00759d115c5a43cab85",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -291,11 +291,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1760524057,
|
||||
"narHash": "sha256-EVAqOteLBFmd7pKkb0+FIUyzTF61VKi7YmvP1tw4nEw=",
|
||||
"lastModified": 1761114652,
|
||||
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5",
|
||||
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -362,11 +362,11 @@
|
|||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761190730,
|
||||
"narHash": "sha256-XAs/Q4zBJIfK/bwq9KjTUkTH15A+Pe2rIilyvalEHuM=",
|
||||
"lastModified": 1761333046,
|
||||
"narHash": "sha256-3RGdMQKWB0W0IsQt3g51ItTKxhRgF8ZYhiBY2isUmYA=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"rev": "c3439b262c7cb3d57c93197a93a3aa382582bdae",
|
||||
"rev": "31084062e3f6f37b62a4250a1539937f8127c8fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -621,11 +621,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1760898315,
|
||||
"narHash": "sha256-d2qbZpREjUQm65lzS70b2TVgTfOpAjQUZa+FS58+WnA=",
|
||||
"lastModified": 1761269012,
|
||||
"narHash": "sha256-/naxU8jbaoZM3CQCjJiI6Z5+vsv+zA7eZdhFY1tbzsM=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "5e52b6a9ec07d22c9555891005b1b39f1bbd83ed",
|
||||
"rev": "c7f5f0122cf8c4bfd9ef3b138eb615f0e54f1459",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
24
hardware-configuration.nix
Normal file
24
hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
|
|
@ -8,8 +5,7 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
# ./disko.nix
|
||||
./disko.nix
|
||||
./hardware-configuration.nix
|
||||
./vfio.nix
|
||||
];
|
||||
|
|
@ -37,21 +33,12 @@
|
|||
"--dpi-desync-ttl=8"
|
||||
];
|
||||
};
|
||||
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
programs.bash.shellAliases = {
|
||||
fuck = "you";
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Istanbul";
|
||||
|
||||
# Select internationalisation properties.
|
||||
services.getty.autologinUser = "tulg";
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
|
|
@ -60,6 +47,7 @@
|
|||
users.users.tulg = {
|
||||
isNormalUser = true;
|
||||
description = "Tulga";
|
||||
initialPassword = "fuckyou";
|
||||
extraGroups = ["networkmanager" "wheel" "libvirtd"];
|
||||
packages = with pkgs; [];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
disk = {
|
||||
nixos = {
|
||||
type = "disk";
|
||||
device = "/dev/vda";
|
||||
device = "/dev/sda";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
|
|
|||
|
|
@ -45,28 +45,19 @@ in {
|
|||
grim
|
||||
slurp
|
||||
inxi
|
||||
pistol
|
||||
waybar
|
||||
wofi
|
||||
mako
|
||||
feh
|
||||
kitty
|
||||
libsForQt5.qtstyleplugin-kvantum
|
||||
libsForQt5.qt5ct
|
||||
rose-pine-kvantum
|
||||
];
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||
#pkgs.vscode-extensions.bbenoist.nix
|
||||
|
||||
pkgs.vscode-extensions.kamadorueda.alejandra
|
||||
|
||||
pkgs.vscode-extensions.jnoortheen.nix-ide
|
||||
];
|
||||
profiles.tulg.userSettings = {
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
programs.zen-browser.enable = true;
|
||||
|
|
@ -79,8 +70,6 @@ in {
|
|||
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
# theme = spicePkgs.themes.ziro;
|
||||
# colorScheme = "rose-pine-moon";
|
||||
};
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
|
|
@ -93,10 +82,9 @@ in {
|
|||
max_height = 900;
|
||||
};
|
||||
tasks = {
|
||||
image_bound = [ 0 0 ];
|
||||
image_bound = [0 0];
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
xdg.configFile."hypr" = {
|
||||
|
|
@ -124,17 +112,15 @@ in {
|
|||
recursive = true;
|
||||
};
|
||||
|
||||
#xdg.configFile."lf" = {
|
||||
# source = symlink "${dots}/lf";
|
||||
# recursive = true;
|
||||
#};
|
||||
programs.firefox.enable = true;
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
|
||||
shellAliases = {
|
||||
a = "echo ids";
|
||||
rb = "nixos-rebuild switch --flake";
|
||||
a = "echo idssss";
|
||||
rb = "sudo nixos-rebuild switch --flake ~/nixdots#";
|
||||
nixtest = "sudo nixos-rebuild test --flake ~/nixdots#";
|
||||
infect = "nix run github:nix-community/nixos-anywhere -- -- flake";
|
||||
};
|
||||
|
||||
bashrcExtra = ''
|
||||
|
|
@ -145,48 +131,22 @@ in {
|
|||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
user.name = "tulg";
|
||||
user.email = "tulg@protonmail.ch";
|
||||
user.name = "tulg";
|
||||
user.email = "tulg@protonmail.ch";
|
||||
};
|
||||
};
|
||||
|
||||
# gtk = {
|
||||
# enable = true;
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 16;
|
||||
};
|
||||
|
||||
# theme = {
|
||||
# name = "Nordic-darker";
|
||||
# package = pkgs.nordic;
|
||||
# };
|
||||
|
||||
# iconTheme = {
|
||||
# name = "Papirus-Dark";
|
||||
# package = pkgs.papirus-icon-theme;
|
||||
# };
|
||||
#};
|
||||
|
||||
#home.pointerCursor = {
|
||||
# gtk.enable = true;
|
||||
# x11.enable = true;
|
||||
# package = pkgs.bibata-cursors;
|
||||
# name = "Bibata-Modern-Classic";
|
||||
# size = 16;
|
||||
#};
|
||||
#nixpkgs.config.qt5 = {
|
||||
# enable = true;
|
||||
# platformTheme = "qt5ct";
|
||||
# style = {
|
||||
# package = pkgs.rose-pine-kvantum;
|
||||
# name = "Rose-pine";
|
||||
# };
|
||||
#};
|
||||
#
|
||||
#
|
||||
home.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
|
||||
# GTK_THEME = "rose-pine";
|
||||
# QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
QT_QPA_PLATFORM = "wayland";
|
||||
# PS1="\[\e[38;5;177m\]\u\[\e[38;5;220m\]@\[\e[38;5;1m\]\h \[\e[38;5;33m\]\w \[\033[0m\]$ ";
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue