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": {
|
"locked": {
|
||||||
"lastModified": 1760887455,
|
"lastModified": 1761316995,
|
||||||
"narHash": "sha256-/xU8iYZjolWbMUNBQF6af5zgGs73Qw21WMgz1tLs3Yw=",
|
"narHash": "sha256-BAAjCpjTnfaxtc9NCkbUl9MUv5JmAG5qU7/G8TTHmb4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "aeabc1ac63e6ebb8ba4714c4abdfe0556f2de765",
|
"rev": "82b58f38202540bce4e5e00759d115c5a43cab85",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -291,11 +291,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760524057,
|
"lastModified": 1761114652,
|
||||||
"narHash": "sha256-EVAqOteLBFmd7pKkb0+FIUyzTF61VKi7YmvP1tw4nEw=",
|
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "544961dfcce86422ba200ed9a0b00dd4b1486ec5",
|
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -362,11 +362,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761190730,
|
"lastModified": 1761333046,
|
||||||
"narHash": "sha256-XAs/Q4zBJIfK/bwq9KjTUkTH15A+Pe2rIilyvalEHuM=",
|
"narHash": "sha256-3RGdMQKWB0W0IsQt3g51ItTKxhRgF8ZYhiBY2isUmYA=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "c3439b262c7cb3d57c93197a93a3aa382582bdae",
|
"rev": "31084062e3f6f37b62a4250a1539937f8127c8fd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -621,11 +621,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760898315,
|
"lastModified": 1761269012,
|
||||||
"narHash": "sha256-d2qbZpREjUQm65lzS70b2TVgTfOpAjQUZa+FS58+WnA=",
|
"narHash": "sha256-/naxU8jbaoZM3CQCjJiI6Z5+vsv+zA7eZdhFY1tbzsM=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "5e52b6a9ec07d22c9555891005b1b39f1bbd83ed",
|
"rev": "c7f5f0122cf8c4bfd9ef3b138eb615f0e54f1459",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"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,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|
@ -8,8 +5,7 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
./disko.nix
|
||||||
# ./disko.nix
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./vfio.nix
|
./vfio.nix
|
||||||
];
|
];
|
||||||
|
|
@ -37,21 +33,12 @@
|
||||||
"--dpi-desync-ttl=8"
|
"--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;
|
networking.networkmanager.enable = true;
|
||||||
|
programs.bash.shellAliases = {
|
||||||
|
fuck = "you";
|
||||||
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "Europe/Istanbul";
|
time.timeZone = "Europe/Istanbul";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
services.getty.autologinUser = "tulg";
|
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
|
|
@ -60,6 +47,7 @@
|
||||||
users.users.tulg = {
|
users.users.tulg = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Tulga";
|
description = "Tulga";
|
||||||
|
initialPassword = "fuckyou";
|
||||||
extraGroups = ["networkmanager" "wheel" "libvirtd"];
|
extraGroups = ["networkmanager" "wheel" "libvirtd"];
|
||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
disk = {
|
disk = {
|
||||||
nixos = {
|
nixos = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/vda";
|
device = "/dev/sda";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
|
|
|
||||||
|
|
@ -45,28 +45,19 @@ in {
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
inxi
|
inxi
|
||||||
pistol
|
|
||||||
waybar
|
waybar
|
||||||
wofi
|
wofi
|
||||||
mako
|
mako
|
||||||
feh
|
feh
|
||||||
kitty
|
kitty
|
||||||
libsForQt5.qtstyleplugin-kvantum
|
|
||||||
libsForQt5.qt5ct
|
|
||||||
rose-pine-kvantum
|
|
||||||
];
|
];
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.default.extensions = with pkgs.vscode-extensions; [
|
profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||||
#pkgs.vscode-extensions.bbenoist.nix
|
|
||||||
|
|
||||||
pkgs.vscode-extensions.kamadorueda.alejandra
|
pkgs.vscode-extensions.kamadorueda.alejandra
|
||||||
|
|
||||||
pkgs.vscode-extensions.jnoortheen.nix-ide
|
pkgs.vscode-extensions.jnoortheen.nix-ide
|
||||||
];
|
];
|
||||||
profiles.tulg.userSettings = {
|
profiles.tulg.userSettings = {
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.zen-browser.enable = true;
|
programs.zen-browser.enable = true;
|
||||||
|
|
@ -79,8 +70,6 @@ in {
|
||||||
|
|
||||||
programs.spicetify = {
|
programs.spicetify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme = spicePkgs.themes.ziro;
|
|
||||||
# colorScheme = "rose-pine-moon";
|
|
||||||
};
|
};
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -93,10 +82,9 @@ in {
|
||||||
max_height = 900;
|
max_height = 900;
|
||||||
};
|
};
|
||||||
tasks = {
|
tasks = {
|
||||||
image_bound = [ 0 0 ];
|
image_bound = [0 0];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."hypr" = {
|
xdg.configFile."hypr" = {
|
||||||
|
|
@ -124,17 +112,15 @@ in {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
#xdg.configFile."lf" = {
|
|
||||||
# source = symlink "${dots}/lf";
|
|
||||||
# recursive = true;
|
|
||||||
#};
|
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
a = "echo ids";
|
a = "echo idssss";
|
||||||
rb = "nixos-rebuild switch --flake";
|
rb = "sudo nixos-rebuild switch --flake ~/nixdots#";
|
||||||
|
nixtest = "sudo nixos-rebuild test --flake ~/nixdots#";
|
||||||
|
infect = "nix run github:nix-community/nixos-anywhere -- -- flake";
|
||||||
};
|
};
|
||||||
|
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
|
|
@ -145,48 +131,22 @@ in {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
user.name = "tulg";
|
user.name = "tulg";
|
||||||
user.email = "tulg@protonmail.ch";
|
user.email = "tulg@protonmail.ch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# gtk = {
|
home.pointerCursor = {
|
||||||
# enable = true;
|
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 = {
|
home.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
|
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
|
||||||
# GTK_THEME = "rose-pine";
|
|
||||||
# QT_QPA_PLATFORMTHEME = "qt5ct";
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
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 = {
|
xdg.portal = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue