eeeee
This commit is contained in:
parent
6ee460ec59
commit
e3b621e436
|
@ -12,6 +12,7 @@
|
||||||
./home.nix
|
./home.nix
|
||||||
./user.nix
|
./user.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
|
./programs.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -19,6 +20,17 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
opengl = {
|
||||||
|
extraPackages32 = [
|
||||||
|
pkgs.driversi686Linux.amdvlk
|
||||||
|
];
|
||||||
|
extraPackages = [
|
||||||
|
pkgs.amdvlk
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# hostname
|
# hostname
|
||||||
networking.hostName = "cat"; # Define your hostname.
|
networking.hostName = "cat"; # Define your hostname.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, ...}:
|
||||||
|
{
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||||
|
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,4 +1,11 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services = { };
|
services = {
|
||||||
|
udisks2.enable = true;
|
||||||
|
xserver.desktopManager.xfce.thunarPlugins = with pkgs; [
|
||||||
|
xfce.thunar-volman
|
||||||
|
xfce.thunar-archive-plugin
|
||||||
|
xfce.thunar-media-tags-plugin
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
2
sync.sh
2
sync.sh
|
@ -7,7 +7,7 @@ git pull
|
||||||
# cp -r /etc/nixos/ ./backup
|
# cp -r /etc/nixos/ ./backup
|
||||||
|
|
||||||
# copy over all the files to /etc/nixos/
|
# copy over all the files to /etc/nixos/
|
||||||
sudo cp -r ./configuration.nix ./wallpaper.png ./dunst ./rofi ./i3 ./fish ./kitty ./nvim/ ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/
|
sudo cp -r ./configuration.nix ./wallpaper.png ./dunst ./rofi ./i3 ./fish ./kitty ./nvim/ ./programs.nix ./packages.nix ./home.nix ./services.nix ./user.nix /etc/nixos/
|
||||||
|
|
||||||
# build penrose and copy it to nixos folder
|
# build penrose and copy it to nixos folder
|
||||||
# cd ./penrose
|
# cd ./penrose
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
systemd = {
|
||||||
|
user.services.polkit-gnome-authentication-agent-1 = {
|
||||||
|
description = "polkit-gnome-authentication-agent-1";
|
||||||
|
wants = [ "graphical-session.target" ];
|
||||||
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
after = [ "graphical-session.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "simple";
|
||||||
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = 1;
|
||||||
|
TimeoutStopSec = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
9
user.nix
9
user.nix
|
@ -14,13 +14,13 @@
|
||||||
git
|
git
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
thunderbird
|
thunderbird
|
||||||
|
tor-browser-bundle-bin
|
||||||
|
mullvad-vpn
|
||||||
|
|
||||||
# files and partitions
|
# files and partitions
|
||||||
gnome.gnome-disk-utility
|
gnome.gnome-disk-utility
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
xfce.thunar-volman
|
pcmanfm
|
||||||
xfce.thunar-archive-plugin
|
|
||||||
xfce.thunar-media-tags-plugin
|
|
||||||
|
|
||||||
# music / sound
|
# music / sound
|
||||||
cmus
|
cmus
|
||||||
|
@ -40,6 +40,9 @@
|
||||||
|
|
||||||
# games
|
# games
|
||||||
steam
|
steam
|
||||||
|
lutris
|
||||||
|
wine
|
||||||
|
winetricks
|
||||||
|
|
||||||
# x11
|
# x11
|
||||||
arandr
|
arandr
|
||||||
|
|
Loading…
Reference in New Issue